Error installing phpMyAdmin in centOS7 with yum

Asked 2 years ago, Updated 2 years ago, 94 views

This is a rudimentary question, but I would like to introduce mariaDB, php7, and phpMyAdmin in centOS7.

yum install phpMyAdmin

When I run , I get the following error, what should I correct?

Error: Package: php-tidy-5.4.16-4.el7.x86_64 (epel)
       Requirements: php(zend-abi) = 20100525-64
       Installed—php-common-7.0.9-1.el7.remi.x86_64 (@remi-php70)
           php(zend-abi) = 20151012-64
       Available—php-common-5.4.16-36.el7_1.x86_64(base)
           php(zend-abi) = 20100525-64
       Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
           php(zend-abi) = 20100525-64
Error: Package: phpMyAdmin-4.15.7-1.el7.noarch(epel)
       Requirements—php-zip
       Available—php-common-5.4.16-36.el7_1.x86_64(base)
           php-zip
       Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
           php-zip
       Installed—php-common-7.0.9-1.el7.remi.x86_64 (@remi-php70)
           Not found
Error: Package: php-tidy-5.4.16-4.el7.x86_64 (epel)
       Requirements: php(api) = 20100412-64
       Installed—php-common-7.0.9-1.el7.remi.x86_64 (@remi-php70)
           php(api)=20151012-64
       Available—php-common-5.4.16-36.el7_1.x86_64(base)
           php(api) = 20100412-64
       Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
           php(api) = 20100412-64
Error: Package: php-bcmath-5.4.16-36.1.el7_2.1.x86_64 (updates)
       Requirements: php-common (x86-64) = 5.4.16-36.1.el7_2.1
       Installed—php-common-7.0.9-1.el7.remi.x86_64 (@remi-php70)
           php-common (x86-64) = 7.0.9-1.el7.remi
       Available—php-common-5.4.16-36.el7_1.x86_64(base)
           php-common (x86-64) = 5.4.16-36.el7_1
       Available: php-common-5.4.16-36.1.el7_2.1.x86_64 (updates)
           php-common (x86-64) = 5.4.16-36.1.el7_2.1

I would appreciate it if you could give me some advice.Thank you for your cooperation.

centos phpmyadmin yum

2022-09-30 20:12

1 Answers

It looks like the remi-php70 repository php-common is already installed.
When trying to install phpMyAdmin with the remi-php70 repository disabled (default), the PHP-related package version required for phpMyAdmin conflicts with the installed php-common.

Try enabling and installing the remi-php70 repository.

#yum--enablerepo=remi-php70 install phpMyAdmin


2022-09-30 20:12

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.