受该帖
https://bbs.aliyun.com/read/254641.html的启发,在一个装有vestacp的vps中试装了一下php5.2没有成功,不知为啥
[root@ziluopao ~]# yum install php52 php52-gd php52-mbstring php52-mysql
Loaded plugins: security
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php52.x86_64 0:5.2.17-1.el6 will be installed
--> Processing Dependency: php-common = 5.2.17-1.el6 for package: php52-5.2.17-1.el6.x86_64
--> Processing Dependency: php-cli = 5.2.17-1.el6 for package: php52-5.2.17-1.el6.x86_64
---> Package php52-gd.x86_64 0:5.2.17-1.el6 will be installed
---> Package php52-mbstring.x86_64 0:5.2.17-1.el6 will be installed
---> Package php52-mysql.x86_64 0:5.2.17-1.el6 will be installed
--> Running transaction check
---> Package php-pecl-zip.x86_64 0:1.13.5-1.el6.remi.5.6 will be obsoleted
--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.29-1.el6.remi.x86_64
---> Package php52-cli.x86_64 0:5.2.17-1.el6 will be installed
---> Package php52-common.x86_64 0:5.2.17-1.el6 will be obsoleting
--> Running transaction check
---> Package php56-common.x86_64 0:5.6.12-1.el6 will be installed
--> Processing Conflict: php56-common-5.6.12-1.el6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php56-common conflicts with php52-common-5.2.17-1.el6.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@ziluopao ~]#
引用第1楼ivmmff于2016-12-24 10:56发表的 :
需要卸载5.6,并关闭remi [url=https://bbs.aliyun.com/job.php?action=topost&tid=303148&pid=852454][/url]
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。