summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-06-17 20:51:52 +0200
committerJoe Watkins <krakjoe@php.net>2019-07-02 13:18:39 +0200
commit0819e6dc9b4788e5d44b64f8e606a56c969a1588 (patch)
tree2a3745de0af45a550d3f72f53d80d934f43575cd /php.ini-production
parentb546ae986a6efe4daadd23e27f6ccaac5c857e5e (diff)
downloadphp-git-0819e6dc9b4788e5d44b64f8e606a56c969a1588.tar.gz
simple ignore arguments in exceptions implementation
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production6
1 files changed, 6 insertions, 0 deletions
diff --git a/php.ini-production b/php.ini-production
index e3f061e3fb..229846698d 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -359,6 +359,12 @@ zend.enable_gc = On
; Default: ""
;zend.script_encoding =
+; Allows to include or exclude arguments from stack traces generated for exceptions
+; Default: Off
+; In production, it is recommended to turn this setting on to prohibit the output
+; of sensitive information in stack traces
+zend.exception_ignore_args = On
+
;;;;;;;;;;;;;;;;;
; Miscellaneous ;
;;;;;;;;;;;;;;;;;