linux - 在centos 7上安装phpmyadmin的问题

标签 linux phpmyadmin centos7

我在更新到 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

关于linux - 在centos 7上安装phpmyadmin的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61312627/

相关文章:

java - Centos 7 + Oracle 12c 驱动程序无法连接

javascript - Node : relocation error: node: symbol SSL_set_cert_cb, 版本 libssl.so.10 未在带有链接时间引用的文件 libssl.so.10 中定义

linux - 让 bash 脚本回答交互式提示

linux - 顺序执行后台进程unix

linux - 无法在 centos 6 上显示来自 vsftpd 服务器的文件

php - 防止两个具有相同名称的图像替换帖子图像

mysql - Phpmyadmin Mysql Web 客户端和终端客户端的区别

linux - $ EUID与$ UID不同时,如何产生情况?

php - 使用 PHP 脚本从 MySQL 数据库创建 XLS 文件

centos - 当我查看 freeswitch 日志时,会看到以下错误