From: Matthijs Kooijman Date: Fri, 24 Apr 2009 19:39:09 +0000 (+0200) Subject: php: Display errors in the log, not to the client. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=8ab97a18a3f52f9359ba86245e5d5ef8908bb1a5;p=matthijs%2Fservers%2Fdrsnuggles.git php: Display errors in the log, not to the client. --- diff --git a/etc/php5/cgi/php.ini.local b/etc/php5/cgi/php.ini.local index 5157119..c88e4d8 100644 --- a/etc/php5/cgi/php.ini.local +++ b/etc/php5/cgi/php.ini.local @@ -1,3 +1,9 @@ # This file contains local changes, so we can leave php5.ini to the Debian # default. It is not directly used by PHP, but the update-php.ini script # ensures it is put into the php.ini for each different domain. + +# Put errors in the logfile +log_errors = On + +# Don't display errors to the client +display_errors = Off