diff options
-rw-r--r-- | php.ini-dist | 8 | ||||
-rw-r--r-- | php.ini-recommended | 6 |
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 |