summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist4
-rw-r--r--php.ini-recommended4
2 files changed, 4 insertions, 4 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 00eb585f36..2ad7e817e5 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -661,13 +661,13 @@ default_socket_timeout = 60
[Pcre]
;PCRE library backtracking limit.
-;pcre.recursion_limit=100000
+;pcre.backtrack_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
+;pcre.recursion_limit=100000
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
diff --git a/php.ini-recommended b/php.ini-recommended
index e0d02461ce..1ee9101a23 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -706,13 +706,13 @@ default_socket_timeout = 60
[Pcre]
;PCRE library backtracking limit.
-;pcre.recursion_limit=100000
+;pcre.backtrack_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
+;pcre.recursion_limit=100000
[Syslog]
; Whether or not to define the various syslog variables (e.g. $LOG_PID,