[pcre-dev] pcre version too old

Pàgina inicial
Delete this message
Autor: Huayan Gao
Data:  
A: Pcre-dev
Assumpte: [pcre-dev] pcre version too old
Hi,

I am using Centos 5.9, apache 2.2, php, YII now.

When I am running yii, it gives me an error messenge, preg_match():
Compilation failed: this version of PCRE is not compiled with PCRE_UTF8
support at offset 0

So I recompile my php and pcre. In php, I set --with-pcre-regex=/usr/local.
And in pcre recompile, I set --enable-unicode-properties. But after
recompile, index.php shows the new php version but still the old pcre
version.

How could I update the pcre version too?



Thanks!