Skip to content
JosephLenton edited this page Jun 28, 2012 · 2 revisions

Add these to your php.ini, or other .ini files, as global options for PHP-Error.

php_error.force_disabled

When set to 'on', the error reporter will look and act like it's running, but really it does nothing. No setup changes, no error reporting, and no other work.

    php_error.force_disabled = On

If you manually call 'turnOn', it on will also silently fail, and still be set to turned off.

My advice is to never put PHP-error into production. This option exists incase you forget, so you can disable it for all of your sites as a part of your global configuration.

Clone this wiki locally