码迷,mamicode.com
首页 > Web开发 > 详细

Centos install ICU, INTL for php

时间:2016-01-25 13:12:18      阅读:237      评论:0      收藏:0      [点我收藏+]

标签:

1. 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

2. 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

 

Centos install ICU, INTL for php

标签:

原文地址:http://www.cnblogs.com/mztest/p/5156897.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!