最近,我们使用yum update -y
更新了CentOS 7,并发布了我们面临的几个问题。
现在即使尝试安装较旧版本的php56,它也提供相同的功能。
尝试在CentOS Linux版本7.7.1908(核心)上安装phpMyAdmin时出错
[root@***** install]# yum install phpmyadmin
Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.rackspace.com
* updates: mirror.fileplanet.com
Resolving Dependencies
--> Finished Dependency Resolution
Error: Package: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)
Requires: php(api) = 20131106-64
Installed: php-common-7.4.4~RC1-1.el7.remi.x86_64 (@remi-modular-test)
php(api) = 20190902-64
Available: php-common-5.6.40-18.el7.remi.x86_64 (remi-php56)
php(api) = 20131106-64
Available: php-common-5.6.40-19.el7.remi.x86_64 (remi-php56)
php(api) = 20131106-64
Error: Package: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)
Requires: php(zend-abi) = 20131226-64
Installed: php-common-7.4.4~RC1-1.el7.remi.x86_64 (@remi-modular-test)
您为什么安装此软件包?
要正确安装,请按照Wizard instructions进行
顺便说一句,最新的phpMyAdmin版本(5.0.2)至少需要PHP版本7.1。
为此,找到了合适的解决方案,谢谢Techmint
因为我已经安装了php7.4.4RC1,所以从属软件包应该从相同的仓库而不是不同的存储库安装,在我的情况下,[[remi-php74是正确的]
步骤
yum install yum-utils
yum-config-manager --enable remi-php74
yum install php-zip -y
yum install phpMyAdmin -y
提供了[[yum-config-manager来轻松配置php74的默认remi存储库yum-utils