Commit ef029693dbd for php.net
commit ef029693dbd002988ae87ed1eef02adfdbbe466a
Author: Cas Ebbers <617080+CasEbb@users.noreply.github.com>
Date: Fri Jul 24 12:21:03 2026 +0200
Change `pcre.backtrack_limit` in the ini templates to the default value (#22868)
diff --git a/php.ini-development b/php.ini-development
index afabe74ba0e..8663f1c21de 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1033,7 +1033,7 @@ cli_server.color = On
[Pcre]
; PCRE library backtracking limit.
; https://php.net/pcre.backtrack-limit
-;pcre.backtrack_limit=100000
+;pcre.backtrack_limit=1000000
; PCRE library recursion limit.
; Please note that if you set this value to a high number you may consume all
diff --git a/php.ini-production b/php.ini-production
index 04a7b699dad..497a3774b8e 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1035,7 +1035,7 @@ cli_server.color = On
[Pcre]
; PCRE library backtracking limit.
; https://php.net/pcre.backtrack-limit
-;pcre.backtrack_limit=100000
+;pcre.backtrack_limit=1000000
; PCRE library recursion limit.
; Please note that if you set this value to a high number you may consume all