summaryrefslogtreecommitdiffstats
path: root/php.ini
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-13 10:05:53 +0200
committerRemi Collet <remi@remirepo.net>2020-08-13 10:05:53 +0200
commitb533ce6c75a07d27c5b4c318518328a0a5175467 (patch)
tree1448406acf22b8d4cad5549808de454c5479bb70 /php.ini
parent931a78cd3a6bf09028e0f9e37416ac64dff601fd (diff)
sync php.ini with upstream
Diffstat (limited to 'php.ini')
-rw-r--r--php.ini19
1 files changed, 17 insertions, 2 deletions
diff --git a/php.ini b/php.ini
index c9cccf1..f1f057f 100644
--- a/php.ini
+++ b/php.ini
@@ -159,6 +159,11 @@
; Development Value: Off
; Production Value: On
+; zend.exception_string_param_max_len
+; Default Value: 15
+; Development Value: 15
+; Production Value: 0
+
;;;;;;;;;;;;;;;;;;;;
; php.ini Options ;
;;;;;;;;;;;;;;;;;;;;
@@ -366,13 +371,23 @@ zend.enable_gc = On
;zend.script_encoding =
; 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
+; In production, it is recommended to turn this setting on to prohibit the output
; of sensitive information in stack traces
; Default Value: Off
; Development Value: Off
; Production Value: On
zend.exception_ignore_args = On
+; Allows setting the maximum string length in an argument of a stringified stack trace
+; to a value between 0 and 1000000.
+; This has no effect when zend.exception_ignore_args is enabled.
+; Default Value: 15
+; Development Value: 15
+; Production Value: 0
+; In production, it is recommended to set this to 0 to reduce the output
+; of sensitive information in stack traces.
+zend.exception_string_param_max_len = 0
+
;;;;;;;;;;;;;;;;;
; Miscellaneous ;
;;;;;;;;;;;;;;;;;
@@ -528,7 +543,7 @@ ignore_repeated_source = Off
; http://php.net/report-memleaks
report_memleaks = On
-; This setting is on by default.
+; This setting is off by default.
;report_zend_debug = 0
; Turn off normal error reporting and emit XML-RPC error XML