summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-03-28 22:57:07 -0700
committerStanislav Malyshev <stas@php.net>2019-03-28 22:57:07 -0700
commitbc4cb277d3ddaecee8285b98d248380b454edbfd (patch)
treee8165c9cb4b4979e3c17237ea2830732cfc9911d
parent738016bd884a339009e1af371eaba0fee60bf23b (diff)
downloadphp-git-bc4cb277d3ddaecee8285b98d248380b454edbfd.tar.gz
Add mbstring.regex_stack_limit to php.ini-*
-rw-r--r--php.ini-development5
-rw-r--r--php.ini-production5
2 files changed, 10 insertions, 0 deletions
diff --git a/php.ini-development b/php.ini-development
index fcc95fd3c5..320cf170a3 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1712,6 +1712,11 @@ zend.assertions = 1
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE.
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices
diff --git a/php.ini-production b/php.ini-production
index 909bf6d8dc..656ae67302 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1719,6 +1719,11 @@ zend.assertions = -1
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
;mbstring.http_output_conv_mimetype=
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE.
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices