[php-src] master: Change `pcre.backtrack_limit` in the ini templates to the default value (#22868)

Cas Ebbers via GitHub <[email protected]> Fri, 24 Jul 2026 10:21:06 +0000
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: Cas Ebbers (CasEbb)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2026-07-24T12:21:03+02:00

Commit: https://github.com/php/php-src/commit/ef029693dbd002988ae87ed1eef02adfdbbe466a
Raw diff: https://github.com/php/php-src/commit/ef029693dbd002988ae87ed1eef02adfdbbe466a.diff

Change `pcre.backtrack_limit` in the ini templates to the default value (#22868)

Changed paths:
  M  php.ini-development
  M  php.ini-production


Diff:

diff --git a/php.ini-development b/php.ini-development
index afabe74ba0e4..8663f1c21de7 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 04a7b699dadd..497a3774b8ed 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