summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist6
1 files changed, 6 insertions, 0 deletions
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]