From bc4cb277d3ddaecee8285b98d248380b454edbfd Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Thu, 28 Mar 2019 22:57:07 -0700 Subject: [PATCH] Add mbstring.regex_stack_limit to php.ini-* --- php.ini-development | 5 +++++ php.ini-production | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/php.ini-development b/php.ini-development index fcc95fd3c50..320cf170a3b 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 909bf6d8dce..656ae673021 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