Skip to content

Commit 205556c

Browse files
thg2knikic
authored andcommitted
Synchronize php.ini-development and php.ini-production
Closes GH-6231.
1 parent e5b045e commit 205556c

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

php.ini-development

+6-4
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,9 @@ zend.enable_gc = On
361361
; Default: ""
362362
;zend.script_encoding =
363363

364-
; Allows to include or exclude arguments from stack traces generated for exceptions
364+
; Allows to include or exclude arguments from stack traces generated for exceptions.
365+
; In production, it is recommended to turn this setting on to prohibit the output
366+
; of sensitive information in stack traces
365367
; Default: Off
366368
zend.exception_ignore_args = Off
367369

@@ -525,7 +527,9 @@ report_memleaks = On
525527
; This setting is on by default.
526528
;report_zend_debug = 0
527529

528-
; Store the last error/warning message in $php_errormsg (boolean).
530+
; Store the last error/warning message in $php_errormsg (boolean). Setting this value
531+
; to On can assist in debugging and is appropriate for development servers. It should
532+
; however be disabled on production servers.
529533
; This directive is DEPRECATED.
530534
; Default Value: Off
531535
; Development Value: Off
@@ -1586,8 +1590,6 @@ zend.assertions = 1
15861590
; http://php.net/assert.quiet-eval
15871591
;assert.quiet_eval = 0
15881592

1589-
1590-
15911593
[COM]
15921594
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
15931595
; http://php.net/com.typelib-file

php.ini-production

+2-2
Original file line numberDiff line numberDiff line change
@@ -361,10 +361,10 @@ zend.enable_gc = On
361361
; Default: ""
362362
;zend.script_encoding =
363363

364-
; Allows to include or exclude arguments from stack traces generated for exceptions
365-
; Default: Off
364+
; Allows to include or exclude arguments from stack traces generated for exceptions.
366365
; In production, it is recommended to turn this setting on to prohibit the output
367366
; of sensitive information in stack traces
367+
; Default: Off
368368
zend.exception_ignore_args = On
369369

370370
;;;;;;;;;;;;;;;;;

0 commit comments

Comments
 (0)