Community Documentation

Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support

Last updated January 5, 2008. Created by LeeHunter on December 15, 2005.
Edited by add1sun, Dublin Drupaller, Netlynx. Log in to edit this page.

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 clean

then restart the apache server...
something like this (this is a VPS2 specific script, yours may be different):
# restart_apache

Comments

The problem is the \p{L}

The problem is the \p{L} which catches all Unicode code points in the group 'Letters'. If your PHP hasn't PCRE compiled with Unicode (which should be default) this regex wont work Only Technology News. You can circumvent that problem by just removing the \p{L}.

We will try to find a workaround for the next release - thanks for pointing that out!

About this page

Drupal version
Drupal 4.6.x, Drupal 4.7.x

Reference

Drupal’s online documentation is © 2000-2013 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here