PHP and PCRE version
Posted: Wed Jan 27, 2010 8:52 am
Hi,
I've been happily using the atomic php packages on RHEL5, currently php-5.2.12-2.el5.art . Recently hit an issue where the IDS library used by CiviCRM threw up warnings like:
due to the PCRE library lacking Unicode properties support. The error occurs on one server, running the atomic php packages, but not on another RHEL5 server running php-5.2 packages from another repo. Both servers are on pcre-6.6-2.el5_1.7 .
phpinfo for server with atomic php:
./configure has '--with-pcre-regex=/usr'
phpinfo for server with other repo's php:
./configure has no mention of pcre
I.e. without the '--with-pcre-regex=/usr' flag, it appears to use a more up-to-date PCRE, presumably built-in and with Unicode properties support. If so, could the atomic packages use the same approach?
Thanks,
Dave
I've been happily using the atomic php packages on RHEL5, currently php-5.2.12-2.el5.art . Recently hit an issue where the IDS library used by CiviCRM threw up warnings like:
Code: Select all
Compilation failed: support for \P, \p, and \X has not been compiled at offset 1
phpinfo for server with atomic php:
./configure has '--with-pcre-regex=/usr'
Code: Select all
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 6.6 06-Feb-2006
./configure has no mention of pcre
Code: Select all
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.9 2009-04-11
Thanks,
Dave