nginx Magento 索引报错

nginx Magento 索引报错
Magento php -f indexer.php -- -reindex
Syntax error or access violation: 1139 Got error 'this version of PCRE is not compiled with Unicode property suppo' from regexp in /home/wwwroot/default/lib/Zend/Db/Statement/Pdo.php:228
这个报错 有个关键词 Unicode 这里说明字符编码出了问题,找了相关文章找了解决方式

# pcretest -C
20170423135649

PCRE下载地址:https://sourceforge.net/projects/pcre/files/pcre/
# tar zxvf pcre-8.38.tar.gz
# cd pcre-8.38

# ./configure --enable-utf8 --enable-unicode-properties
# make
# make install

安装好后,看一下是否城功

# pcretest -C
PCRE version 8.38 2015-11-23
Compiled with
8-bit support
UTF-8 support
Unicode properties support
No just-in-time compiler support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Parentheses nest limit = 250
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack

发表评论
Magento2 技术支持 上门服务

工作时间
周一至周六
9:00-18:00
相关咨询电话
15360669780
侨海科技