Recently we updated CentOS 7 using yum update -y and post that we are facing several issues.

Now even after trying to install older version of php56 it is giving the same.

Error on trying install phpMyAdmin on CentOS Linux release 7.7.1908 (Core)

[root@***** install]# yum install phpmyadminFailed to set locale, defaulting to CLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: mirror.rackspace.com* updates: mirror.fileplanet.comResolving Dependencies--> Finished Dependency ResolutionError: Package: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)Requires: php(api) = 20131106-64Installed: php-common-7.4.4~RC1-1.el7.remi.x86_64 (@remi-modular-test)php(api) = 20190902-64Available: php-common-5.6.40-18.el7.remi.x86_64 (remi-php56)php(api) = 20131106-64Available: php-common-5.6.40-19.el7.remi.x86_64 (remi-php56)php(api) = 20131106-64Error: Package: php-pecl-zip-1.18.2-1.el7.remi.5.6.x86_64 (remi-php56)Requires: php(zend-abi) = 20131226-64
2

Best Answer


Identified a proper working solution towards this, thanks for Techmint

Since I had install php7.4.4RC1, the subordinate packages was supposed to install from same repo and not different repository, in my case remi-php74 is the correct one

Steps

yum install yum-utilsyum-config-manager --enable remi-php74yum install php-zip -yyum install phpMyAdmin -y

yum-utils gave yum-config-manager to easily configure default remi repository of php74

 Installed: php-common-7.4.4~RC1-1.el7.remi.x86_64 (@remi-modular-test)

Why have you this package installed ?

For a proper installation, please follow the Wizard instructions

BTW, latest phpMyAdmin version (5.0.2) requires at least PHP version 7.1.