安装phpmyadmin时php56-common与php-common-5.3.29-1.8.amzn1.x86_64冲突 [英] php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 when installing phpmyadmin

查看:151
本文介绍了安装phpmyadmin时php56-common与php-common-5.3.29-1.8.amzn1.x86_64冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经成功安装了php70和mysql.但是当我尝试通过

I have successfully installed php70 and mysql. But when i am trying to install phpmyadmin by

$ sudo yum-config-manager --enable epel

然后

$ sudo yum install -y phpMyAdmin

它给了我

--> Finished Dependency Resolution
Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

还在Google之后,有时我找到了尝试此操作的解决方案

Also after google sometimes i found a solution that try this

sudo yum install php70-mbstring

我也尝试过此操作,仍然遇到相同的错误.

And i have tried this also, Still facing same error.

有什么建议吗??

推荐答案

我猜您正在按照Amazon教程安装phpMyAdmin?

I guess that you are following the Amazon tutorial to install phpMyAdmin ?

我今天遇到了同样的问题,并通过使用yum命令卸载PHP 7.0来解决了该问题(Amazon用'remove'而不是'install'给出了相同的问题:

I had the same problem today and resolved it by uninstall PHP 7.0 with the yum command (the same given by Amazon with 'remove' instead of 'install' :

sudo yum remove httpd24 php70 mysql56-server php70-mysqlnd

并安装了PHP 5.6:

and installed PHP 5.6 instead :

sudo yum install httpd24 php56 mysql56-server php56-mysqlnd

我不知道这是否是一个好的解决方案,但是它可以正常工作,并且我可以安装phpMyAdmin而不会出现依赖关系问题.希望对您有所帮助:)

I don't know if this is a good solution, but it worked and I could install phpMyAdmin without dependencies problem. I hope it will help :)

这篇关于安装phpmyadmin时php56-common与php-common-5.3.29-1.8.amzn1.x86_64冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆