Home arrow Journal arrow Show Only Errors in a PHP App on a Production Web Server
Show Only Errors in a PHP App on a Production Web Server PDF
Monday, 06 February 2012
If you do not want to display notices and warnings but only errors on your PHP application you must edit /usr/local/etc/php.ini files and configure the following variables:

  error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING
  display_errors = On


or:

  error_reporting = E_ALL & ~E_NOTICE & ~E_WARNING & ~E_DEPRECATED
  display_errors = On


Last Updated ( Monday, 06 February 2012 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?