I'm having trouble disabling xDebug. I've commented out the zend_extension from the configuration file as suggested here
/etc/php/7.0/apache2/conf.d/20-xdebug.ini
zend_extension=xdebug.so
;zend_extension=/usr/lib/xdebug/modules/xdebug.so
xdebug.max_nesting_level=200
xdebug.remote_enable=1
xdebug.remote_host=192.168.10.1
xdebug.idekey=phpstorm
After restarting Apache2, I still get the following error message when I run composer.
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
I found another xdebug.ini file and it's also seems to be disabled there:
cat /etc/php/7.0/mods-available/xdebug.ini
zend_extension=xdebug.so
;zend_extension=/usr/lib/xdebug/modules/xdebug.so
xdebug.max_nesting_level=200
xdebug.remote_enable=1
xdebug.remote_host=192.168.10.1
xdebug.idekey=phpstorm
Do I need to restart PHP, how do I do that?
$ sudo service php restart
php: unrecognized service