繁体   English   中英

在 centos 上安装 phpmyadmin 时出现问题 7

[英]Problem on installing phpmyadmin on centos 7

我在更新到 php 7.3 版时错误地删除了我的 phpmyadmin 现在当我尝试使用此命令重新安装它时sudo yum install phpmyadmin没有收到此响应:

--> Processing Dependency: php-simplexml for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-recode for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Processing Dependency: php-mbstring for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
--> Running transaction check
---> Package php-mbstring.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: libonig.so.5()(64bit) for package: php-mbstring-7.3.17-1.el7.remi.x86_64
---> Package php-recode.x86_64 0:7.3.17-1.el7.remi will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php-recode-7.3.17-1.el7.remi.x86_64
---> Package php-xml.x86_64 0:7.3.17-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
--> Running transaction check
---> Package oniguruma5.x86_64 0:6.9.4-1.el7.remi will be installed
---> Package phpMyAdmin49.noarch 0:4.9.3-1.el7.ius will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin49-4.9.3-1.el7.ius.noarch
Package php73-common-7.3.16-1.el7.ius.x86_64 is obsoleted by php-common-7.3.17-1.el7.remi.x86_64 which is already installed
---> Package recode.x86_64 0:3.6-38.el7 will be installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin49-4.9.3-1.el7.ius.noarch (ius)
           Requires: php-zip
           Available: php-common-5.4.16-46.el7.x86_64 (base)
               php-zip
           Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
               php-zip
           Available: php-pecl-zip-1.18.1-1.el7.remi.5.6.x86_64 (remi-php56)
               php-zip = 1:1.18.1-1.el7.remi.5.6
           Available: php-pecl-zip-1.18.1-1.el7.remi.7.3.x86_64 (remi-php73)
               php-zip = 1:1.18.1-1.el7.remi.7.3
           Available: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)
               php-zip = 1:1.18.2-1.el7.remi.5.6
           Available: php-pecl-zip-1.18.2-1.el7.remi.7.3.x86_64 (remi-php73)
               php-zip = 1:1.18.2-1.el7.remi.7.3
           Available: php72u-common-7.2.26-1.el7.ius.x86_64 (ius)
               php-zip
           Available: php72u-common-7.2.27-1.el7.ius.x86_64 (ius)
               php-zip
           Available: php72u-common-7.2.28-1.el7.ius.x86_64 (ius)
               php-zip
           Available: php73-common-7.3.14-1.el7.ius.x86_64 (ius)
               php-zip
           Available: php73-common-7.3.15-1.el7.ius.x86_64 (ius)
               php-zip
           Available: php73-common-7.3.16-1.el7.ius.x86_64 (ius)
               php-zip
           Installed: php-common-7.3.17-1.el7.remi.x86_64 (@remi-php73)
               Not found
           Available: php-common-5.6.40-19.el7.remi.x86_64 (remi-php56)
               Not found
           Available: php-common-5.6.40-20.el7.remi.x86_64 (remi-php56)
               Not found
           Available: php-common-7.3.16-1.el7.remi.x86_64 (remi-php73)
               Not found
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

php 版本已更新,没有问题,但是 phpmyadmin 没有安装我该怎么做才能找回它?

不要混用那么多 PHP 供应商,尤其是; 不要混合“IUS”和“Remi”。

如果你想要PHP 7.3,只保留“remi-php73”,你可以从“remi”取phpMyAdmin(5.0.2)

yum-config-manager --enable remi-php73
yum-config-manager --disable remi-php56
yum-config-manager --disable ius
yum --enablerepo=remi install phpMyAdmin

正如 Remi 所说,不要将他的存储库与 IUS 混合。 选择一个或另一个。 如果您决定使用 IUS 进行 go,我们提供 phpMyAdmin49 和 phpMyAdmin50 软件包。 Asking yum to install phpMyAdmin will likely result in it trying to install the EPEL phpMyAdmin package, which is stuck at version 4.4.x to remain compatible with stock PHP 5.4.x.

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM