开发者

PHP says "PCRE is not compiled with UTF-8"

I have a webserver with some personal websites and stuff, it's running Debian Lenny, Apache 2 and PHP 5. I always use apt to install stuff.

This weekend, I tried installing Ruby on Rails just for fun. I didn't get it working, but that's a problem for another time. Today I noticed that one of my websites running PunBB has stopped working. The error I get is the following:

Warning: preg_match(): Compilation failed: unknown option bit(s) set at offset 0 in /home/arood/sitename/include/utf8/utf8.php on line 51 Fatal error: PCRE is not compiled with UTF-8 support in /home/arood/sitename/include/utf8/utf8.php on line 52

pcretest -C tells me I have version 8.12 installed with UT开发者_StackOverflow社区F-8 support on the server, but phpinfo() tells me it's using 8.02. I've found out via google that apache is using it's own version, but I can't figure out how to fix my problem.

Could somebody help me get this working again?

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜