diff options
author | Stanislav Malyshev <stas@php.net> | 2019-03-28 22:57:07 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2019-03-28 22:57:07 -0700 |
commit | bc4cb277d3ddaecee8285b98d248380b454edbfd (patch) | |
tree | e8165c9cb4b4979e3c17237ea2830732cfc9911d | |
parent | 738016bd884a339009e1af371eaba0fee60bf23b (diff) | |
download | php-git-bc4cb277d3ddaecee8285b98d248380b454edbfd.tar.gz |
Add mbstring.regex_stack_limit to php.ini-*
-rw-r--r-- | php.ini-development | 5 | ||||
-rw-r--r-- | php.ini-production | 5 |
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 |