New Server Install PHP Fatal error: PCRE is not compiled with UTF-8 support

Killers2

Registered
Jan 21, 2009
4
0
51
Hey,

Just setup a new server and getting some issues with this PHP error. PCRE is indeed compiled with UTF-8 and Unicode support.

PHP Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset 0
PHP Fatal error: PCRE is not compiled with UTF-8 support

pcretest -C
PCRE version 7.8 2008-09-05
Compiled with
UTF-8 support
Unicode properties 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

opt/pcre/bin/pcretest -C
PCRE version 8.21 2011-12-12
Compiled with
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


Using PHP 5.4.11, CentOS 6 x64 and Apache 2.4. Was using the same on another server except on a 32 bit OS and it was fine.
 

Killers2

Registered
Jan 21, 2009
4
0
51
Yes going back to 2.2 resolved this issue. Did not have the issue on a 32 bit CentOS 5 system.