How to disable xdebug
When I run
composer update command in shell, composer displays warning like bellow.
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
And takes too long time to process.
I already go to https://getcomposer.org/xdebug reference and tried to disable xdebug option in
php.ini file. But I couldn't found it.
This is the real reference to disable
xdebug option in
Get what php.ini file is used
First, check what kind of
php.ini file is used.
php -i | grep "php.ini"
Comment xdebug option
zend_extension option and comment it using ';(semicolon)'.
;zend_extension = "/path/to/my/xdebug.so"
If you can't find this option in
php.ini file, maybe it is in
conf.d folder. File name is like
'20-xdebug.ini'. Open this file and comment it.