[PCRE – Perl-compatible regular expression library. PCRE has its own native API, but a set of “wrapper” functions that are based on the POSIX API are also supplied in the library libpcreposix. Note that this just provides a POSIX calling interface to PCRE; the regular expressions themselves still follow Perl syntax and semantics. The header file for the POSIX-style functions is called pcreposix.h]

added in PHP.INI
pcre.backtrack_limit = 10000000
pcre.recursion_limit = 10000000

and added in modsec2.user.conf
SecPcreMatchLimit 150000
SecPcreMatchLimitRecursion 150000

Leave a Reply

Your email address will not be published. Required fields are marked *