PCRE Issues - preg_replace(): Compilation failed
-
Hello :) Is this happening for multiple websites, or is it isolated to a single script installation (e.g. WordPress)? Have you checked with the support for the script you are using to see if any solutions are available? Thank you. 0 -
EasyApache uses the PCRE that's installed in /opt/pcre directory, and not the system version. Try re-running /opt/pcre/bin/pcretest -C for verification. You can also run the following commands to ensure that Apache looks at /opt/pcre/lib before any others: [QUOTE]readelf -a /usr/local/apache/bin/httpd | grep RPATH lsof -n | grep httpd | grep -i pcre
It should look something like the following: [QUOTE] 0x000000000000000f (RPATH) Library rpath: [/opt/pcre/lib:/usr/local/apache/lib] httpd 22196 nobody mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.3 httpd 22197 nobody mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.3 httpd 22198 nobody mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.3 httpd 22199 nobody mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.3 httpd 22200 nobody mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.3 httpd 31625 root mem REG 253,0 682399 1054416 /opt/pcre/lib/libpcre.so.1.2.30
Please sign in to leave a comment.
Comments
2 comments