Centos install ICU, INTL for php

  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
  1. 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下搭建性能监控Spotlight
CentOS 6.3下Strongswan搭建IPSec VPN
在CentOS6.5上安装Skype与QQ
阿里云基于centos6.5主机VPN配置
CentOS 6.3下配置multipah
CentOS安装、配置APR和tomcat-native