From 6cc5c10713b3ff5e945f28148f59e3fbeeb292a5 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Thu, 12 Apr 2007 10:24:57 +0000 Subject: [PATCH] add short descriptions for PCRE ini options --- php.ini-dist | 6 ++++++ php.ini-recommended | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/php.ini-dist b/php.ini-dist index 8b63ba9d2fa..bea8bfbceca 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 73be023cc54..8134f21e571 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]