今更ですがPHP5.5の環境でphp-xmlをインストールしてみました。
実行するコマンドは
1 |
yum install php-xml |
やってみます。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# yum install php-xml Loaded plugins: fastestmirror, security Setting up Install Process Determining fastest mirrors epel/metalink | 6.4 kB 00:00 * base: www.ftp.ne.jp * epel: ftp.riken.jp * extras: www.ftp.ne.jp * remi-safe: mirrors.tuna.tsinghua.edu.cn * updates: www.ftp.ne.jp base | 3.7 kB 00:00 epel | 4.3 kB 00:00 epel/primary_db | 5.9 MB 00:00 extras | 3.4 kB 00:00 mysql-connectors-community | 2.5 kB 00:00 mysql-connectors-community/primary_db | 17 kB 00:00 mysql-tools-community | 2.5 kB 00:00 mysql-tools-community/primary_db | 37 kB 00:00 mysql56-community | 2.5 kB 00:00 mysql56-community/primary_db | 190 kB 00:00 remi-safe | 2.9 kB 00:00 remi-safe/primary_db | 890 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 3.1 MB 00:01 Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package php-xml.x86_64 0:5.3.3-49.el6 will be installed --> Processing Dependency: php-common(x86-64) = 5.3.3-49.el6 for package: php-xml-5.3.3-49.el6.x86_64 --> Finished Dependency Resolution Error: Package: php-xml-5.3.3-49.el6.x86_64 (base) Requires: php-common(x86-64) = 5.3.3-49.el6 Installed: php-common-5.5.38-7.el6.remi.x86_64 (@remi-php55) php-common(x86-64) = 5.5.38-7.el6.remi Available: php-common-5.3.3-49.el6.x86_64 (base) php-common(x86-64) = 5.3.3-49.el6 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest # echo $? 1 # yum install --enablerepo=remi-php55 php-xml Loaded plugins: fastestmirror, security Setting up Install Process Loading mirror speeds from cached hostfile * base: www.ftp.ne.jp * epel: ftp.riken.jp * extras: www.ftp.ne.jp * remi-php55: mirrors.tuna.tsinghua.edu.cn * remi-safe: mirrors.tuna.tsinghua.edu.cn * updates: www.ftp.ne.jp remi-php55 | 2.9 kB 00:00 remi-php55/primary_db | 223 kB 00:00 Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package php-xml.x86_64 0:5.5.38-7.el6.remi will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================== Package Arch Version Repository Size =========================================================================================================================== Installing: php-xml x86_64 5.5.38-7.el6.remi remi-php55 218 k Transaction Summary =========================================================================================================================== Install 1 Package(s) Total download size: 218 k Installed size: 828 k Is this ok [y/N]: y Downloading Packages: php-xml-5.5.38-7.el6.remi.x86_64.rpm | 218 kB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : php-xml-5.5.38-7.el6.remi.x86_64 1/1 Verifying : php-xml-5.5.38-7.el6.remi.x86_64 1/1 Installed: php-xml.x86_64 0:5.5.38-7.el6.remi Complete! # |