CentOS   发布时间:2022-04-02  发布网站:大佬教程  code.js-code.com
大佬教程收集整理的这篇文章主要介绍了CentOS 5:如何用php-foo和php-common解决php53 RPM依赖冲突?大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。

概述

我们正在运行CentOS 5.6系统,并希望用php-mcrypt安装php53. 然而,这引入了php-common和amp;之间的依赖冲突. php53常见.有没有人有一个很好的解决方法来解决这个问题? host # yum install php-mcrypt Loaded plugins: fastestmirror Loading mirror speeds from cached ho
我们正在运行CentOS 5.6系统,并希望用PHP-mcrypt安装PHP53.

然而,这引入了PHP-common和amp;之间的依赖冲突. PHP53常见.有没有人有一个很好的解决方法解决这个问题?

host # yum install PHP-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * epel: linux.mirrors.es.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package PHP-mcrypt.x86_64 0:5.1.6-15.el5.centos.1 set to be updated
--> Processing Dependency: PHP-api = 20041225 for package: PHP-mcrypt
--> Processing Dependency: PHP >= 5.1.6 for package: PHP-mcrypt
--> Running transaction check
---> Package PHP.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Dependency: PHP-cli = 5.1.6-27.el5_5.3 for package: PHP
---> Package PHP-common.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Running transaction check
---> Package PHP-cli.x86_64 0:5.1.6-27.el5_5.3 set to be updated
--> Processing Conflict: PHP53-common conflicts PHP-common
--> Finished Dependency Resolution
PHP53-common-5.3.3-1.el5_6.1.x86_64 from installed has depsolving problems
  --> PHP53-common conflicts with PHP-common
Error: PHP53-common conflicts with PHP-common
 You Could try using --skip-broken to work around the problem
 You Could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

这显然是一个已知的问题(见php-devel,Bug 700179Bug 695708)和这篇文章CentOS forums,但还没有官方修复.

解决方法:使用iuscommunity( http://iuscommunity.org/)并安装PHP53u-mcrypt.

通常,您将安装名为PHP53u-foo的包.

大佬总结

以上是大佬教程为你收集整理的CentOS 5:如何用php-foo和php-common解决php53 RPM依赖冲突?全部内容,希望文章能够帮你解决CentOS 5:如何用php-foo和php-common解决php53 RPM依赖冲突?所遇到的程序开发问题。

如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。
标签: