尝试在 CentOS 5 中部署基于 Kohana 的项目。安装了 PHP 5.3.1 但仍然出现以下错误。
Warning: preg_match() [function.preg-match]: Compilation failed: this version of PCRE is not compiled with PCRE_UTF8 support at offset 0 in /usr/local/apache2/htdocs/icarus/system/core/utf8.php on line 30
Fatal error: PCRE has not been compiled with UTF-8 support. See PCRE Pattern Modifiers for more information. This application cannot be run without UTF-8 support. in /usr/local/apache2/htdocs/icarus/system/core/utf8.php on line 38
从最近两天开始尝试,我将我的 PHP 从 5.1 升级到 5.3,但仍然遇到同样的错误。我的问题是 phpinfo() 中 PHP 的 PCRE 模块说是 2004 年 9 月。下面是实际行
PCRE Library Version 5.0 13-Sep-2004
谁能告诉我如何升级它或解决问题的方法。
谢谢。