licess 发表于 2011-1-25 10:15:37

centos让php支持Unicode properties support

自带的安装时时没带--enable-unicode-properties参数,需要下载下面的版本


64bit - http://gaarai.com/wp-content/uploads/2009/01/pcre-66-27x86_64.rpm

32bit - http://gaarai.com/wp-content/uploads/2009/01/pcre-6.6-2.7.i386.rpm

安装:
rpm -Uvh pcre-66-27x86_64.rpm
或rpm -Uvh pcre-6.6-2.7.i386.rpm


检测:
# pcretest -C

PCRE version 6.6 06-Feb-2006
Compiled with
UTF-8 support
Unicode properties support
Newline character is LF
Internal link size = 2
POSIX malloc threshold = 10
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack

完成
页: [1]
查看完整版本: centos让php支持Unicode properties support