From c966c59d99cfd373d852bc0c4dbb1fbda71a4a9b Mon Sep 17 00:00:00 2001 From: Nathan Heinrich Date: Thu, 24 Sep 2020 10:52:14 +1000 Subject: [PATCH] Fix xdebug config .so path so that xdebug start/xdebug stop works --- php-fpm/xdebug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php-fpm/xdebug b/php-fpm/xdebug index 8adb807b..8e43202e 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/xdebug.ini" + /usr/local/etc/php/conf.d/docker-php-ext-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/xdebug.ini" + OFF_CMD="sed -i 's/^zend_extension=/;zend_extension=/g' /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini" # If running on Windows, need to prepend with winpty :(