Im using composer, and when i do an update. It takes a huge chunk of time if xdebug is loaded in my php.ini file.
How can i disable xdebug only for cli. So composer won't take as much time. Yet i will have xdebug enabled?
I found the answer by specifying a custom php.ini file for apache, and left the original php.ini file for cli.
in your apache configuration file. Just write the following bit of code.
<IfModule php5_module>
PHPINIDir "C:/PATH/TO/CUSTOM/INI"
</IfModule>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With