Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support
This error occurrs on release 4.6.1 onwards.
Note: This issue is fixed by default on all VPS3 and new VPS2 servers, resolve-able on VPS1 and old VPS2 (with some updating).
This fix works for Verio VPS2 Servers which are installed with PCRE 6.4 by default (at this time). I see no reason why it should not work for all unix servers (perhaps with directory changes etc).
The fix is to uninstall pcre and install the correct version as follows:
login as root
Type:
# pkg_info
which will show you the installed packages.
type:
# pkg_delete pcre-6.4 (assuming you see pcre-6.4 as the installed version, change as required)
change to the directory where your ports collection is.
on FreeBSD it is:
/ports/devel/pcre-utf8
so type into your shell prompt:
# cd /ports/devel/pcre-utf8
# make
# make install
# make cleanthen restart the apache server...
something like this (this is a VPS2 specific script, yours may be different):
# restart_apache

Fresh rebuild of PCRE does not work on Solaris 10 - FIXED
A rebuild of PCRE did not fix this error on Solaris 10 - SPARC... Yes, we were sure to compile with the UTF8 support..
We have rebuilt both v4.5 and v6.6 of PCRE, both of which with both UTF8 and Unicode Properties Support. These both reported PCRE lib version (in phpinfo) of 3.9 - (02 Jan 2002)
However, the only way to 'fix' this was to compile PHP with its own internal implementation of PCRE; ie, remove the --with-pcre-regex option from php's compile step. This results in a PCRE lib version of 6.2 (01-Aug-2005)!!!
Spent a few hours on this one - hope it helps someone...
Hmmm....