about uscontact

How to disable xdebug

Category:
Author: zemna
Date: April 17, 2021
Share this:

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

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

Search 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.

References

Share this:

Leave a Reply

Your email address will not be published.

ZEMNA.NET

Professional software development agency estalished in Indonesia. We offers website setup, web application development, fulfillment service, and etc.
Follow us
Follow us to get latest news and tutorials.
2022 - Copyright, All Rights Reserved, Made by ZEMNA.NET with ❤️
magnifiercrossmenu