First do
php -i | grep "php.ini"
Then from the grep search, edit the php.ini which it loads.
If it's not in there, you will need to check the conf.d folder (located near your php.ini maybe) for a file called (or similar) ext-xdebug.ini
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
each time when I run composer update .. I get this message:
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
I tried to find the code below in the php.ini file, but unfortunately I haven't found anything..
;zend_extension = "/path/to/my/xdebug.so"
My PHP version is PHP 5.6.15-1+deb.sury.org~trusty+1 (cli)
So my question is, How can I disable the xdebug?
First do
php -i | grep "php.ini"
Then from the grep search, edit the php.ini which it loads.
If it's not in there, you will need to check the conf.d folder (located near your php.ini maybe) for a file called (or similar) ext-xdebug.ini
Please or to participate in this conversation.