From: Giovanni Giacobbi Date: Mon, 28 Sep 2020 22:43:23 +0000 (+0200) Subject: Synchronize php.ini-development and php.ini-production X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=205556c1913e8774c037f9335a908c328eabc56e;p=php Synchronize php.ini-development and php.ini-production Closes GH-6231. --- diff --git a/php.ini-development b/php.ini-development index 2c39ece23c..ea687bea15 100644 --- a/php.ini-development +++ b/php.ini-development @@ -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 diff --git a/php.ini-production b/php.ini-production index 4e946c8322..8d54423003 100644 --- a/php.ini-production +++ b/php.ini-production @@ -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 ;;;;;;;;;;;;;;;;;