在服务器上执行下面的命令:[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
- extras: centos.mirrors.atwab.net
- rpmforge: mirror.agmn.ca
- updates: 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]