From 205556c1913e8774c037f9335a908c328eabc56e Mon Sep 17 00:00:00 2001 From: Giovanni Giacobbi Date: Tue, 29 Sep 2020 00:43:23 +0200 Subject: [PATCH] Synchronize php.ini-development and php.ini-production Closes GH-6231. --- php.ini-development | 10 ++++++---- php.ini-production | 4 ++-- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/php.ini-development b/php.ini-development index 2c39ece23ca..ea687bea15d 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 4e946c83221..8d54423003f 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 ;;;;;;;;;;;;;;;;;