我正在将php 5.4升级到php 7.2(使用this tutorial)后尝试安装phpmyadmin。
但是我得到这个错误:
Error: php72u-common conflicts with php-common-5.4.16-45.el7.x86_64
较长版本的错误:
--> Processing Conflict: php72u-common-7.2.11-1.ius.centos7.x86_64 conflicts php-common < 7.2.11-1.ius.centos7
--> Finished Dependency Resolution
Error: php72u-common conflicts with php-common-5.4.16-45.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我已经从旧php中删除了所有内容,因为运行yum list installed | grep php
并没有显示旧版本中的任何内容:
mod_php72u.x86_64 7.2.11-1.ius.centos7 @ius
php72u-cli.x86_64 7.2.11-1.ius.centos7 @ius
php72u-common.x86_64 7.2.11-1.ius.centos7 @ius
php72u-fpm.x86_64 7.2.11-1.ius.centos7 @ius
php72u-fpm-nginx.noarch 7.2.11-1.ius.centos7 @ius
php72u-mysqlnd.x86_64 7.2.11-1.ius.centos7 @ius
php72u-pdo.x86_64 7.2.11-1.ius.centos7 @ius
有没有办法解决这个问题?
答案 0 :(得分:1)
对于任何可能遇到相同问题的人,我通过使用特定的php版本安装ec
来解决了该问题:
ecustomer