Php 安装 php-xml 支持

可以运行下面的命令:yum install php-xml[code][root@us1 httpdocs]# yum install php-xml
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile

  • base: centos.mirror.lstn.net
  • extras: centos.mirror.lstn.net
  • updates: centos.mirror.lstn.net
    base | 3.7 kB 00:00
    extras | 3.5 kB 00:00
    updates | 3.5 kB 00:00
    Setting up Install Process
    Resolving Dependencies
    → Running transaction check
    —> Package php-xml.x86_64 0:5.3.3-22.el6 will be installed
    → Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.3.3-22.el6.x86_64
    → Running transaction check
    —> Package libxslt.x86_64 0:1.1.26-2.el6_3.1 will be installed
    → Finished Dependency Resolution

Dependencies Resolved

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

Installing:
php-xml x86_64 5.3.3-22.el6 base 103 k
Installing for dependencies:
libxslt x86_64 1.1.26-2.el6_3.1 base 452 k

Transaction Summary

Install 2 Package(s)

Total download size: 555 k
Installed size: 2.4 M
Is this ok [y/N]: y
Downloading Packages:
(1/2): libxslt-1.1.26-2.el6_3.1.x86_64.rpm | 452 kB 00:00
(2/2): php-xml-5.3.3-22.el6.x86_64.rpm | 103 kB 00:00

Total 4.8 MB/s | 555 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : libxslt-1.1.26-2.el6_3.1.x86_64 1/2
Installing : php-xml-5.3.3-22.el6.x86_64 2/2
Verifying : libxslt-1.1.26-2.el6_3.1.x86_64 1/2
Verifying : php-xml-5.3.3-22.el6.x86_64 2/2

Installed:
php-xml.x86_64 0:5.3.3-22.el6

Dependency Installed:
libxslt.x86_64 0:1.1.26-2.el6_3.1

Complete!
[root@us1 httpdocs]#
[/code]