From: Antony Dovgal Date: Thu, 12 Apr 2007 10:25:15 +0000 (+0000) Subject: MFH X-Git-Tag: php-5.2.2RC2~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad9b50ae1fca53a08c875352873a06d5291f6f6c;p=php MFH --- diff --git a/php.ini-dist b/php.ini-dist index f5e15ec6f6..00eb585f36 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -660,7 +660,13 @@ default_socket_timeout = 60 ;xmlrpc_errors = 0 [Pcre] +;PCRE library backtracking limit. ;pcre.recursion_limit=100000 + +;PCRE library recursion limit. +;Please note that if you set this value to a high number you may consume all +;the available process stack and eventually crash PHP (due to reaching the +;stack size limit imposed by the Operating System). ;pcre.backtrack_limit=100000 [Syslog] diff --git a/php.ini-recommended b/php.ini-recommended index 6e123a3ccb..e0d02461ce 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -705,7 +705,13 @@ default_socket_timeout = 60 ;xmlrpc_errors = 0 [Pcre] +;PCRE library backtracking limit. ;pcre.recursion_limit=100000 + +;PCRE library recursion limit. +;Please note that if you set this value to a high number you may consume all +;the available process stack and eventually crash PHP (due to reaching the +;stack size limit imposed by the Operating System). ;pcre.backtrack_limit=100000 [Syslog]