Browse Source

MFH: Fixed wrong usage of error_reporting directive

PHP-5.2.1RC1
Kalle Sommer Nielsen 18 years ago
parent
commit
d9e457bbad
  1. 6
      php.ini-dist
  2. 4
      php.ini-recommended

6
php.ini-dist

@ -290,11 +290,11 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
;
; - Show all errors, except for notices and coding standards warnings
;
;error_reporting = E_ALL & ~E_NOTICE
;error_reporting = E_ALL | ~E_NOTICE
;
; - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
;error_reporting = E_ALL | ~E_NOTICE | E_STRICT
;
; - Show only errors
;
@ -302,7 +302,7 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
;
; - Show all errors except for notices and coding standards warnings
;
error_reporting = E_ALL & ~E_NOTICE
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

4
php.ini-recommended

@ -339,11 +339,11 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
;
; - Show all errors, except for notices and coding standards warnings
;
;error_reporting = E_ALL & ~E_NOTICE
;error_reporting = E_ALL | ~E_NOTICE
;
; - Show all errors, except for notices
;
;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
;error_reporting = E_ALL | ~E_NOTICE | E_STRICT
;
; - Show only errors
;

Loading…
Cancel
Save