From 8ab97a18a3f52f9359ba86245e5d5ef8908bb1a5 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Fri, 24 Apr 2009 21:39:09 +0200 Subject: [PATCH] php: Display errors in the log, not to the client. --- etc/php5/cgi/php.ini.local | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.30.2