From 4a1100e6859709c17d17221b448d008260f4288c Mon Sep 17 00:00:00 2001 From: lianyunfeng <864825307@qq.com> Date: Wed, 17 Jun 2020 17:00:14 +0800 Subject: [PATCH] php-fpm container xdebug.ini name is xdebug.ini --- php-fpm/xdebug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/xdebug b/php-fpm/xdebug index 8e43202e..8adb807b 100755 --- a/php-fpm/xdebug +++ b/php-fpm/xdebug @@ -36,7 +36,7 @@ xdebug_start () # And uncomment line with xdebug extension, thus enabling it ON_CMD="sed -i 's/^;zend_extension=/zend_extension=/g' \ - /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" + /usr/local/etc/php/conf.d/xdebug.ini" # If running on Windows, need to prepend with winpty :( @@ -58,7 +58,7 @@ xdebug_stop () echo 'Stop xDebug' # Comment out xdebug extension line - OFF_CMD="sed -i 's/^zend_extension=/;zend_extension=/g' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" + OFF_CMD="sed -i 's/^zend_extension=/;zend_extension=/g' /usr/local/etc/php/conf.d/xdebug.ini" # If running on Windows, need to prepend with winpty :(