- Install ICU from source
wget http://download.icu-project.org/files/icu4c/56.1/icu4c-56_1-src.tgz tar -xzvf icu4c-56_1-src.tgz cd icu/source ./configure --prefix=/usr/local/icu make && make install
- Install intl for PHP
wget http://pecl.PHP.net/get/intl-3.0.0.tgz tar -xzvf intl-3.0.0.tgz cd intl-3.0.0 PHPize ./configure –enable-intl –with-icu-dir=/usr/local/icu make && make install
then add the following line into PHP.ini
extension=intl.so
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。