Centos install ICU, INTL for php

前端之家收集整理的这篇文章主要介绍了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@H_403_5@ 
  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@H_403_5@ 

then add the following line into PHP.ini

extension=intl.so@H_403_5@ 原文链接:https://www.f2er.com/centos/378936.html

猜你在找的CentOS相关文章