Php error messages
From thelinuxwiki
disabling user error and logging to a file
added to /etc/php/cgi-php5.4/php.ini
# supress php errors php_flag display_startup_errors off php_flag display_errors off php_flag html_errors off php_value docref_root 0 php_value docref_ext 0 # enable PHP error logging php_flag log_errors on php_value error_log /home/path/public_html/domain/PHP_errors.log # prevent access to PHP error log <Files PHP_errors.log> Order allow,deny Deny from all Satisfy All </Files>
http://stackoverflow.com/questions/1645661/turn-off-warnings-and-errors-on-php-mysql