How to disable xdebug

When I run composer update command in shell, composer displays warning like bellow.

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 php.ini file.

Get what php.ini file is used

First, check what kind of php.ini file is used.

Comment xdebug option

Search zend_extension option and comment it using ‘;(semicolon)’.

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.

References

zemna

Programmer/Web/Mobile/Desktop

You may also like...

Leave a Reply