I'm trying to disable xdebug on "Prod" environment(in php.ini this option is "1") via command:
ini_set('xdebug.remote_enable', '0');
But this is not work, phpinfo show this option value is enabled. What am I doing wrong? According to the documentation it should work http://www.php.net/manual/en/ini.list.php
You don't have permission to change it from php script. The permission is set to PHP_INI_PERDIR which means "Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)". Read more here: http://www.php.net/manual/en/configuration.changes.modes.php
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