[英]unable to install phpMyAdmin on php 7.1
我在安裝phpMyAdmin時在centos 7.2上安裝了php 7.1:
yum -y install phpMyAdmin
失敗,發生在下面:
Package php71w-common-7.1.8-2.w7.x86_64 is obsoleted by php-common-7.1.9-1.el7.remi.x86_64 which is already installed
--> Running transaction check
---> Package libtidy.x86_64 0:5.4.0-1.el7 will be installed
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
Package php71w-common-7.1.8-2.w7.x86_64 is obsoleted by php-common-7.1.9-1.el7.remi.x86_64 which is already installed
--> Finished Dependency Resolution
Error: Package: phpMyAdmin-4.4.15.10-2.el7.noarch (epel)
Requires: php-zip
Available: php-common-5.4.16-42.el7.x86_64 (base)
php-zip
Available: php-pecl-zip-1.15.0-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.0-1.el7.remi.7.1
Available: php-pecl-zip-1.15.1-1.el7.remi.7.1.x86_64 (remi-php71)
php-zip = 1:1.15.1-1.el7.remi.7.1
Available: php55w-common-5.5.38-1.w7.x86_64 (webtatic)
php-zip
Available: php56w-common-5.6.31-1.w7.x86_64 (webtatic)
php-zip
Available: php70w-common-7.0.22-2.w7.x86_64 (webtatic)
php-zip
Available: php71w-common-7.1.8-2.w7.x86_64 (webtatic)
php-zip
Installed: php-common-7.1.9-1.el7.remi.x86_64 (@remi-php71)
Not found
Available: php-common-7.1.8-1.el7.remi.x86_64 (remi-php71)
Not found
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我找不到php-common-5.4,哪里是php-zip?
誰能幫我? 非常感謝。
我總是喜歡手動安裝phpMyAdmin - 你有更多的控制權:
Alias /phpmyadmin /usr/share/phpmyadmin <Directory /usr/share/phpmyadmin/> AddDefaultCharset UTF-8 Require all granted </Directory> <Directory /usr/share/phpmyadmin/setup/> Require all granted </Directory> <Directory /usr/share/phpmyadmin/libraries/> Require all granted </Directory> <Directory /usr/share/phpmyadmin/setup/lib/> Require all granted </Directory> <Directory /usr/share/phpmyadmin/setup/frames/> Require all granted </Directory>
將config.sample.inc.php復制到config.inc.php並調整其中的設置。
登錄yoursite.com/phpmyadmin並確認安裝
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.