summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-08-03 17:19:24 +0000
committerFelipe Pena <felipe@php.net>2008-08-03 17:19:24 +0000
commit6f78f32cc24f57f968a6b25b99d1196f404bf76c (patch)
tree1c61c31bd1d1de07302de1b46daa1cbfb6df85d6
parentd84a4ed4aba6e1452bc65e507260bc1320206efe (diff)
downloadphp-git-6f78f32cc24f57f968a6b25b99d1196f404bf76c.tar.gz
- Fixed error levels
-rw-r--r--php.ini-dist8
-rw-r--r--php.ini-recommended6
2 files changed, 7 insertions, 7 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 752d090ac3..5cb375e1b3 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -251,19 +251,19 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128M)
;
; - Show all errors, except for notices and coding standards warnings
;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
;
; - Show all errors, except for notices
;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL & ~E_NOTICE
;
; - Show only errors
;
;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
;
-; - Show all errors except for notices and coding standards warnings
+; - Show all errors, except coding standards warnings
;
-error_reporting = E_ALL & ~E_NOTICE
+error_reporting = E_ALL & ~E_STRICT
; 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 3edb39f57d..fa9f6424bd 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -288,11 +288,11 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128M)
;
; - Show all errors, except for notices and coding standards warnings
;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
;
; - Show all errors, except for notices
;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL & ~E_NOTICE
;
; - Show only errors
;
@@ -300,7 +300,7 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128M)
;
; - Show all errors, except coding standards warnings
;
-error_reporting = E_ALL
+error_reporting = E_ALL & ~E_STRICT
; 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