我们正在运行CentOS 5.6系统,并希望用PHP-mcrypt安装PHP53.
原文链接:https://www.f2er.com/centos/373723.html然而,这引入了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 700179和Bug 695708)和这篇文章在CentOS forums,但还没有官方修复.