PHP build - this version of PCRE is not compiled

Manie

Verified User
Joined
Jul 18, 2006
Messages
124
Location
Utrecht / Netherlands
I rebuilded a PHP from source because of a missing php-imap module on that server. It is a Debian 4.0 (yeah I know, old) running php5.

After the ./build php n I got php-imap working.
I however got a new problem:

Warning: preg_replace_callback() [function.preg-replace-callback]:
Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in
/file_comes_here on line 366

I did some search but could't find a way to fix this.
Anyone got a clue? :-(

phpinfo() says I have PCRE installed.

pcre
PCRE (Perl Compatible Regular Expressions) Support enabled
PCRE Library Version 7.8 2008-09-05

Guess it is all because of the UTF-8 part.
But I don't have a clue why this suddenly has changed :-(

Regards!
 
Back
Top