]> granicus.if.org Git - php/commitdiff
Synchronize php.ini-development and php.ini-production
authorGiovanni Giacobbi <giovanni@giacobbi.net>
Mon, 28 Sep 2020 22:43:23 +0000 (00:43 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 29 Sep 2020 08:47:09 +0000 (10:47 +0200)
Closes GH-6231.

php.ini-development
php.ini-production

index 2c39ece23ca29186cd600cc7e39dfcfec2976608..ea687bea15d1a1b346b49c1bfdaefab0389f7d55 100644 (file)
@@ -361,7 +361,9 @@ zend.enable_gc = On
 ; Default: ""
 ;zend.script_encoding =
 
-; Allows to include or exclude arguments from stack traces generated for exceptions
+; Allows to include or exclude arguments from stack traces generated for exceptions.
+; In production, it is recommended to turn this setting on to prohibit the output 
+; of sensitive information in stack traces
 ; Default: Off
 zend.exception_ignore_args = Off
 
@@ -525,7 +527,9 @@ report_memleaks = On
 ; This setting is on by default.
 ;report_zend_debug = 0
 
-; Store the last error/warning message in $php_errormsg (boolean).
+; Store the last error/warning message in $php_errormsg (boolean). Setting this value
+; to On can assist in debugging and is appropriate for development servers. It should
+; however be disabled on production servers.
 ; This directive is DEPRECATED.
 ; Default Value: Off
 ; Development Value: Off
@@ -1586,8 +1590,6 @@ zend.assertions = 1
 ; http://php.net/assert.quiet-eval
 ;assert.quiet_eval = 0
 
-
-
 [COM]
 ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
 ; http://php.net/com.typelib-file
index 4e946c83221c230b1edccf7cfa824cecef9ffece..8d54423003f3f351e3b9e14ba18e53104f3c1ddc 100644 (file)
@@ -361,10 +361,10 @@ zend.enable_gc = On
 ; Default: ""
 ;zend.script_encoding =
 
-; Allows to include or exclude arguments from stack traces generated for exceptions
-; Default: Off
+; Allows to include or exclude arguments from stack traces generated for exceptions.
 ; In production, it is recommended to turn this setting on to prohibit the output 
 ; of sensitive information in stack traces
+; Default: Off
 zend.exception_ignore_args = On
 
 ;;;;;;;;;;;;;;;;;