Environment: CentOS 7, PHP 7.1.7, MariaDB 10.2.7
When I tried to install phpMyAdmin in this environment,
We are having trouble proceeding with the following error.
$sudo yum install phpMyAdmin
I got the following error, so
Error installing phpMyAdmin with yum in centOS7
Use this advice as a reference
$sudo yum--enablerepo=remi-php71 install phpMyAdmin
I tried , but the error did not change.
-->Finished Dependency Resolution
Error: Package: php-tidy-5.4.16-7.el7.x86_64 (epel)
Requirements: php(api) = 20100412-64
Installed—php-common-7.1.7-1.el7.remi.x86_64 (@remi-php71)
php(api) = 20160303-64
Available—php-common-5.4.16-42.el7.x86_64 (base)
php(api) = 20100412-64
Available: php-common-7.1.6-1.el7.remi.x86_64 (remi-php71)
php(api) = 20160303-64
Error: Package: php-tidy-5.4.16-7.el7.x86_64 (epel)
Requirements: php(zend-abi) = 20100525-64
Installed—php-common-7.1.7-1.el7.remi.x86_64 (@remi-php71)
php(zend-abi) = 20160303-64
Available—php-common-5.4.16-42.el7.x86_64 (base)
php(zend-abi) = 20100525-64
Available: php-common-7.1.6-1.el7.remi.x86_64 (remi-php71)
php(zend-abi) = 20160303-64
You could try using -- skip-broken to work around the problem
You could try running: rpm-Va --nofiles --nodigest
Thank you for your cooperation.
php centos phpmyadmin mariadb
I was able to solve myself.
Thank you very much for your consideration.
I will write down the solution.
I wanted you to go see remi-php71, but it didn't go well.
When I looked for a way to solve it,
/etc/yum.repos.d/remi-php71.repo
In this file, you can find
priority=1
Like this.
[remi-php71]
name = Remi's PHP 7.1 RPM repository for Enterprise Linux 7-$basearch
#baseurl=http://rpms.remirepo.net/enterprise/7/php71/$basearch/
# mirrorlist=https://rpms.remirepo.net/enterprise/7/php71/httpsmirror
mirrorlist=http://rpms.remirepo.net/enterprise/7/php71/mirror
enabled = 1
gpgcheck=1
gpgkey=file://etc/pki/rpm-gpg/RPM-GPG-KEY-remi
priority = 1
以下 Below is approximately
By adding , they will go to see 71 as a priority.
As a result, the installation was successfully completed.
Note: http://higherhope.net/?p=2731
© 2024 OneMinuteCode. All rights reserved.