http://rpmfind.net/linux/rpm2html/search.php?query=php70-php-xml php 版本 7.0.30 ,centos 7.4 从这里下载了 RedHat EL 7 for x86_64 的 php-xml.
无限的依赖,最后崩溃了
1.rpm -ivh ./php70-php-xml-7.0.30-1.el7.remi.x86_64.rpm
错误:依赖检测失败:
php70-php-common(x86-64) = 7.0.30-1.el7.remi 被 php70-php-xml-7.0.30-1.el7.remi.x86_64 需要
2.下载 php70-php-common
rpm -ivh ./php70-php-common-7.0.30-1.el7.remi.x86_64.rpm
错误:依赖检测失败:
php70-runtime 被 php70-php-common-7.0.30-1.el7.remi.x86_64 需要
php70-php-json(x86-64) = 7.0.30-1.el7.remi 被 php70-php-common-7.0.30-1.el7.remi.x86_64 需要
3.rpm -ivh ./php70-php-json-7.0.30-1.el7.remi.x86_64.rpm
错误:依赖检测失败:
php70-php-common(x86-64) = 7.0.30-1.el7.remi 被 php70-php-json-7.0.30-1.el7.remi.x86_64 需要
4.这两个互相依赖啊
rpm -ivh ./php70-php-json-7.0.30-1.el7.remi.x86_64.rpm ./php70-php-common-7.0.30-1.el7.remi.x86_64.rpm ./php70-runtime-1.0-5.el7.remi.x86_64.rpm
错误:依赖检测失败:
/usr/sbin/semanage 被 php70-runtime-1.0-5.el7.remi.x86_64 需要
environment-modules 被 php70-runtime-1.0-5.el7.remi.x86_64 需要
scl-utils 被 php70-runtime-1.0-5.el7.remi.x86_64 需要
5.yum install semanage
已加载插件:fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.nju.edu.cn
* epel: mirrors.tongji.edu.cn
* extras: mirrors.shu.edu.cn
* updates: mirrors.cn99.com
没有可用软件包 semanage。
错误:无须任何处理