From: Antony Dovgal Date: Thu, 12 Apr 2007 10:24:57 +0000 (+0000) Subject: add short descriptions for PCRE ini options X-Git-Tag: RELEASE_1_1_0~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cc5c10713b3ff5e945f28148f59e3fbeeb292a5;p=php add short descriptions for PCRE ini options --- diff --git a/php.ini-dist b/php.ini-dist index 8b63ba9d2f..bea8bfbcec 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -586,7 +586,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 73be023cc5..8134f21e57 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -617,7 +617,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]