【发布时间】:2018-03-02 12:44:14
【问题描述】:
我已经在 centos 7.2 上安装了 php 7.1 当我安装 phpMyAdmin 时:
yum -y install phpMyAdmin
失败,发生在下面:
Package php71w-common-7.1.8-2.w7.x86_64 is obsoleted by php-common-7.1.9-1.el7.remi.x86_64 which is already installed
--> Running transaction check
---> Package libtidy.x86_64 0:5.4.0-1.el7 will be installed
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
Package php71w-common-7.1.8-2.w7.x86_64 is obsoleted by php-common-7.1.9-1.el7.remi.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin-4.4.15.10-2.el7.noarch (epel)
Requires: php-zip
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-zip
Available: php-pecl-zip-1.15.0-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.0-1.el7.remi.7.1
Available: php-pecl-zip-1.15.1-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.1-1.el7.remi.7.1
Available: php55w-common-5.5.38-1.w7.x86_64 (webtatic)
php-zip
Available: php56w-common-5.6.31-1.w7.x86_64 (webtatic)
php-zip
Available: php70w-common-7.0.22-2.w7.x86_64 (webtatic)
php-zip
Available: php71w-common-7.1.8-2.w7.x86_64 (webtatic)
php-zip
Installed: php-common-7.1.9-1.el7.remi.x86_64 (@remi-php71)
Not found
Available: php-common-7.1.8-1.el7.remi.x86_64 (remi-php71)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我找不到 php-common-5.4,php-zip 在哪里?
谁能帮帮我?非常感谢。
【问题讨论】:
-
是说
php-common-7.1.9-1.el7.remi.x86_64已安装但找不到?你安装正确了吗? -
我安装它的方式是:yum --enablerepo=remi install php71-php-common,没有错误。
-
您想要哪个 PHP 版本?不要混合各种提供者(webtatic + remi)。 EPEL 中的 phpMyAdmin 4.4 与最新的 PHP 版本不兼容。 (版本 4.7 在“remi”中可用)。尝试在“phpMyAdmin 之前”安装 php-pecl-zip,并禁用 webtatic
标签: php mysql phpmyadmin centos7