Page 1 of 1

How to disable php error reporting

Posted: Wed Sep 19, 2012 11:16 am
by a24uall
You can do this via php.ini
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED
display_errors = On
log_errors = Off
Restart httpd and see if there are any errors visible
If you still see the errors, do change
display_errors = Off
Restart httpd again
/etc/init.d/httpd restart