# CentOS 安装 php-intl 的命令

**URL:** <https://www.isharkfly.com/t/centos-php-intl/10581>\
**Category:** DevOps\
**Created:** [December 30, 2013, 4:08am UTC](https://www.isharkfly.com/t/centos-php-intl/10581 "2013-12-30T04:08:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![honeymoose](https://www.isharkfly.com/user_avatar/www.isharkfly.com/honeymoose/32/20796_2.png) [@honeymoose](https://www.isharkfly.com/u/honeymoose)\
**Post date:** [December 30, 2013, 4:08am UTC](https://www.isharkfly.com/t/centos-php-intl/10581/1 "2013-12-30T04:08:03Z")

</div>

在服务器上执行下面的命令：`[root@ca style]# yum install php-intl`服务器输出如下：[code][root@ca style]# yum install php-intl  
Loaded plugins: fastestmirror, security  
Loading mirror speeds from cached hostfile

- base: [centos.mirrors.atwab.net](http://centos.mirrors.atwab.net)
- extras: [centos.mirrors.atwab.net](http://centos.mirrors.atwab.net)
- rpmforge: mirror.agmn.ca
- updates: [www.cubiculestudio.com](http://www.cubiculestudio.com)  
Setting up Install Process  
Resolving Dependencies  
 → Running transaction check  
—\> Package php-intl.x86\_64 0:5.3.3-27.el6\_5 will be installed  
 → Processing Dependency: libicuuc.so.42()(64bit) for package: php-intl-5.3.3-27.el6\_5.x86\_64  
 → Processing Dependency: libicuio.so.42()(64bit) for package: php-intl-5.3.3-27.el6\_5.x86\_64  
 → Processing Dependency: libicui18n.so.42()(64bit) for package: php-intl-5.3.3-27.el6\_5.x86\_64  
 → Processing Dependency: libicudata.so.42()(64bit) for package: php-intl-5.3.3-27.el6\_5.x86\_64  
 → Running transaction check  
—\> Package libicu.x86\_64 0:4.2.1-9.1.el6\_2 will be installed  
 → Finished Dependency Resolution

Dependencies Resolved

# ========================================================================================================= Package Arch Version Repository Size

Installing:  
php-intl x86\_64 5.3.3-27.el6\_5 updates 71 k  
Installing for dependencies:  
libicu x86\_64 4.2.1-9.1.el6\_2 base 4.9 M

# Transaction Summary

Install 2 Package(s)

## Total download size: 5.0 M Installed size: 19 M Is this ok [y/N]: y Downloading Packages: (1/2): libicu-4.2.1-9.1.el6\_2.x86\_64.rpm | 4.9 MB 00:00 (2/2): php-intl-5.3.3-27.el6\_5.x86\_64.rpm | 71 kB 00:00

Total 9.0 MB/s | 5.0 MB 00:00  
Running rpm\_check\_debug  
Running Transaction Test  
Transaction Test Succeeded  
Running Transaction  
Installing : libicu-4.2.1-9.1.el6\_2.x86\_64 1/2  
Installing : php-intl-5.3.3-27.el6\_5.x86\_64 2/2  
Verifying : php-intl-5.3.3-27.el6\_5.x86\_64 1/2  
Verifying : libicu-4.2.1-9.1.el6\_2.x86\_64 2/2

Installed:  
php-intl.x86\_64 0:5.3.3-27.el6\_5

Dependency Installed:  
libicu.x86\_64 0:4.2.1-9.1.el6\_2

Complete!  
[root@ca style]# [/code]
