Knowledgebase

PCRE unicode issues

Posted by Adonis, 03-31-2009, 08:20 PM
I've been looking around for this for hours now and i can't seem to get my head around it. The situation is this: I have been creating a PHP script for a while now, which extensively uses unicode characters and checking. Now during development, i only checked it on my localhost installation and a virtual linux machine. It all worked there. Yesterday it was finished and i uploaded it to a beta site for testing, and i found that PHP doesn't recognise unicode regular expressions (perl compatible). I think that my installed PCRE version is not compiled with UTF8 support. I could not find any updated RPM's for my Fedora installation, so i went ahead and downloaded the latest PCRE, compiled it with unicode support and installed it into the same path as the old one. I thought that would fix it, but both linux and PHP still claim the old version is installed. I'm completely lost now. I can't Remove the old version through Yum since that would remove over 450 packages from the system, making both the system and Plesk unusable. Is there anyone here who knows how to handle this? I usually fix my own stuff, but somehow this is way beyond what i did before System: Fedora Core 5 PCRE: 6.3 Last edited by Adonis; 03-31-2009 at 08:34 PM.

Posted by Adonis, 03-31-2009, 10:45 PM
Can't i just overwrite the files in the /lib directory with the new version's lib files?

Posted by Adonis, 04-01-2009, 12:37 PM
As it turns out... simply installing the new one over the old library files and rebooting apache works. Problem solved



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
how disable base64 (Views: 632)
VPS Postfix error (Views: 532)


Language:

Client Login

Email

Password

Remember Me

Search