Hi,
Centos 6 x64 server, updates, WHM 11.38.0 (build 7)
After installing Apache 2.4.4 and PHP 5.4.14 -PCRE issues:
System has:
preg_replace(): Compilation failed: unknown option bit(s) set at offset 0
preg_split(): Compilation failed: unknown option bit(s) set at offset 0
That means popular software, like SMF , Wordpress will not work correctly.
How this could be fixed. How to tell PHP use Cpanel's PCRE version?
Thanks
Centos 6 x64 server, updates, WHM 11.38.0 (build 7)
After installing Apache 2.4.4 and PHP 5.4.14 -PCRE issues:
System has:
PHP uses:pcretest -C
PCRE version 8.32 2012-11-30
Compiled with
8-bit support
UTF-8 support
Unicode properties support
No just-in-time compiler support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack
All installed:PCRE Library Version 7.8 2008-09-05
Users are having a lot of problems due to the old PCRE version being used, like:rpm -qa | grep pcre
cpanel-pcre-8.31-1.cp1136.x86_64
pcre-devel-7.8-6.el6.x86_64
pcre-7.8-6.el6.x86_64
preg_replace(): Compilation failed: unknown option bit(s) set at offset 0
preg_split(): Compilation failed: unknown option bit(s) set at offset 0
That means popular software, like SMF , Wordpress will not work correctly.
How this could be fixed. How to tell PHP use Cpanel's PCRE version?
Thanks