2017-08-19 18 views
0

ec2インスタンスのphp7用にphpMyAdminをインストールすることができません。 phpMyAdminをインストールしようとしたときにエラーが発生しました。あなたがローカル環境の外であなたのphpMyAdminにアクセスしたい場合は、アクセスを許可するファイル/etc/httpd/conf.d/phpMyAdmin.confを編集EC2インスタンスのphpMyAdminをEC2インスタンスにインストールできない

yum --enablerepo=remi install phpMyAdmin 

[[email protected] old]# yum -y install phpmyadmin 
Loaded plugins: priorities, update-motd, upgrade-helper 
1011 packages excluded due to repository priority protections 

Resolving Dependencies 
--> Running transaction check 

---> Package phpMyAdmin.noarch 0:4.0.10.20-1.el6 will be installed 

--> Processing Dependency: php(language) < 7 for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php(language) >= 5.2.17 for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-zlib for package: phpMyAdmin-4.0.10.20-1.el6.noarch 
--> Processing Dependency: php-zip for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-xmlwriter for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-spl for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-session for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.0.10.20-1.el6.noarch 
--> Processing Dependency: php-pcre for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-mysqli for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-mcrypt for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-mbstring for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-libxml for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-json for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-iconv for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-hash for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-gd for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-filter for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-date for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-curl for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-ctype for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Processing Dependency: php-bz2 for package: phpMyAdmin-4.0.10.20-1.el6.noarch 

--> Running transaction check 

---> Package php-common.x86_64 0:5.3.29-1.8.amzn1 will be installed 

---> Package php-php-gettext.noarch 0:1.0.12-1.el6 will be installed 


---> Package php-tcpdf.noarch 0:6.2.13-1.el6 will be installed 

--> Processing Dependency: php-tidy for package: php-tcpdf-6.2.13-1.el6.noarch 

--> Processing Dependency: php-posix for package: php-tcpdf-6.2.13-1.el6.noarch 

--> Processing Dependency: php-composer(fedora/autoloader) for package: php-tcpdf-6.2.13-1.el6.noarch 

--> Processing Dependency: php-bcmath for package: php-tcpdf-6.2.13-1.el6.noarch 

---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.13-1.el6 will be installed 

---> Package php56-common.x86_64 0:5.6.31-1.134.amzn1 will be installed 

--> Processing Dependency: php56-cli(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64 

--> Processing Dependency: php56-process(x86-64) = 5.6.31-1.134.amzn1 for package: php56-common-5.6.31-1.134.amzn1.x86_64 

--> Processing Dependency: php56-jsonc(x86-64) for package: php56-common-5.6.31-1.134.amzn1.x86_64 

---> Package php56-gd.x86_64 0:5.6.31-1.134.amzn1 will be installed 

---> Package php56-mbstring.x86_64 0:5.6.31-1.134.amzn1 will be installed 

---> Package php56-mcrypt.x86_64 0:5.6.31-1.134.amzn1 will be installed 

--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php56-mcrypt-5.6.31-1.134.amzn1.x86_64 

--> Processing Dependency: libltdl.so.7()(64bit) for package: php56-mcrypt-5.6.31-1.134.amzn1.x86_64 

---> Package php56-mysqlnd.x86_64 0:5.6.31-1.134.amzn1 will be installed 

--> Processing Dependency: php56-pdo(x86-64) = 5.6.31-1.134.amzn1 for package: php56-mysqlnd-5.6.31-1.134.amzn1.x86_64 

---> Package php56-xml.x86_64 0:5.6.31-1.134.amzn1 will be installed 

--> Running transaction check 
---> Package libmcrypt.x86_64 0:2.5.8-9.1.2.amzn1 will be installed 

---> Package libtool-ltdl.x86_64 0:2.4.2-20.4.8.3.31.amzn1 will be installed 

---> Package php-bcmath.x86_64 0:5.3.29-1.8.amzn1 will be installed 

---> Package php-fedora-autoloader.noarch 0:1.0.0-1.el6 will be installed 

---> Package php-process.x86_64 0:5.3.29-1.8.amzn1 will be installed 

---> Package php-tidy.x86_64 0:5.3.29-1.8.amzn1 will be installed 

--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.3.29-1.8.amzn1.x86_64 

---> Package php56-cli.x86_64 0:5.6.31-1.134.amzn1 will be installed 

---> Package php56-jsonc.x86_64 0:1.3.6-1.19.amzn1 will be installed 

---> Package php56-pdo.x86_64 0:5.6.31-1.134.amzn1 will be installed 

---> Package php56-process.x86_64 0:5.6.31-1.134.amzn1 will be installed 

--> Running transaction check 

---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.4.amzn1 will be installed 

--> Processing Conflict: php70-common-7.0.21-1.23.amzn1.x86_64 conflicts php-common < 5.5.22-1.98 

--> Processing Conflict: php56-process-5.6.31-1.134.amzn1.x86_64 conflicts php-process < 5.5.22-1.98 

--> Processing Conflict: php56-common-5.6.31-1.134.amzn1.x86_64 conflicts php-common < 5.5.22-1.98 

--> Finished Dependency Resolution 

Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 

Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 

Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64 

You could try using --skip-broken to work around the problem 

You could try running: rpm -Va --nofiles --nodigest 

実際のエラーが

Error: php70-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 

Error: php56-common conflicts with php-common-5.3.29-1.8.amzn1.x86_64 

Error: php56-process conflicts with php-process-5.3.29-1.8.amzn1.x86_64 

You could try using --skip-broken to work around the problem 

You could try running: rpm -Va --nofiles --nodigest 

答えて

1

これを試してみてくださいです。

+0

のyum --enablerepo =レミのphpMyAdmin ロードプラグインのインストール:あなたのEC2のLinuxディストリビューションごとに優先順位、更新MOTD、アップグレードヘルパーレミのリポジトリデータを取得 エラーを、リポジトリが見つからない – abhaysingh

+0

ダウンロードリポジトリをして、この同じコマンドを実行してください。 – Mayur

関連する問題