Re: [pcre-dev] pcre version too old

Top Page
Delete this message
Author: ph10
Date:  
To: Huayan Gao
CC: Pcre-dev
Subject: Re: [pcre-dev] pcre version too old
On Fri, 10 Jan 2014, Huayan Gao wrote:

> 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?


I know nothing about PHP. This is a question for the PHP people.

Philip

--
Philip Hazel