Topic: PCRE2 Module
I've just installed PHP 7.3 from package 7.3.0~rc1-1.el7.remi. I'm running php-fpm from the same repo. I'm running Wordpress 4.9 and everything is fine except PHPMailer isn't validating email addresses correctly. I traced it down to a PCRE issue. It looks like PHP has loaded the PCRE2 module. Here's the output in phpinfo():
pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 10.31 2018-02-12
PCRE Unicode Version 10.0.0
PCRE JIT Support enabled
PCRE JIT Target x86 64bit (little endian + unaligned)
Directive Local Value Master Value
pcre.backtrack_limit 1000000 1000000
pcre.jit 0 0
pcre.recursion_limit 100000 100000
Correct me if I'm wrong about the versions. My issue is that preg_* function calls are failing which is why PHPMailer is failing.
Is the package compiling PHP with PCRE2?
If so, how do you get preg_* functions working? Is there a package with PCRE compiled?
If PCRE2 was not compiled with PHP why is the library version matching the current PCRE2 version?