From 15c1b8a3a2b869972eb2dcdb6f80dfa526eeb362 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Sun, 6 Nov 2005 11:09:32 +0000 Subject: [PATCH] - MFH: E_STRICT is not part of E_ALL, so the lines were wrong here. --- php.ini-dist | 6 +++--- php.ini-recommended | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/php.ini-dist b/php.ini-dist index 9cd7249b50..49197f1dbb 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -277,11 +277,11 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT +;error_reporting = E_ALL & ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL & ~E_NOTICE | E_STRICT ; ; - Show only errors ; @@ -289,7 +289,7 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ; - Show all errors except for notices and coding standards warnings ; -error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT +error_reporting = E_ALL & ~E_NOTICE ; Print out errors (as a part of the output). For production web sites, ; you're strongly encouraged to turn this feature off, and use error logging diff --git a/php.ini-recommended b/php.ini-recommended index 7b47216285..8a49b3e58a 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -335,11 +335,11 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ; - Show all errors, except for notices and coding standards warnings ; -;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT +;error_reporting = E_ALL & ~E_NOTICE ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE +;error_reporting = E_ALL & ~E_NOTICE | E_STRICT ; ; - Show only errors ; -- 2.40.0