CUIベースでMySQLいじりたくない⇒ツールに頼ろう!
と思い立ってとりあえずphpMyAdminの導入を決意。インフラ周りの設定苦手すぎるけど、先人たちの知恵を頼りに調査しました。
早速インストール!
いけ!!
Error: Package: php-tidy-5.4.16-9.el7.x86_64 (epel)
Requires: php(zend-abi) = 20100525-64
Installed: php-common-7.2.22-1.el7.remi.x86_64 (@remi-php72)
php(zend-abi) = 20170718-64
Available: php-common-5.4.16-46.el7.x86_64 (base)
php(zend-abi) = 20100525-64
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php(zend-abi) = 20100525-64
Error: Package: php-bcmath-5.4.16-46.1.el7_7.x86_64 (updates)
Requires: php-common(x86-64) = 5.4.16-46.1.el7_7
Installed: php-common-7.2.22-1.el7.remi.x86_64 (@remi-php72)
php-common(x86-64) = 7.2.22-1.el7.remi
Available: php-common-5.4.16-46.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-46.el7
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php-common(x86-64) = 5.4.16-46.1.el7_7
Error: Package: php-tidy-5.4.16-9.el7.x86_64 (epel)
Requires: php(api) = 20100412-64
Installed: php-common-7.2.22-1.el7.remi.x86_64 (@remi-php72)
php(api) = 20170718-64
Available: php-common-5.4.16-46.el7.x86_64 (base)
php(api) = 20100412-64
Available: php-common-5.4.16-46.1.el7_7.x86_64 (updates)
php(api) = 20100412-64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
ええぇ~…泣
①Package:epel~⇒epelを参照せずにインストール
これでどう?
Loaded plugins: fastestmirror
remi | 3.0 kB 00:00:00
remi/primary_db | 2.6 MB 00:00:01
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* extras: ftp.riken.jp
* remi: ftp.riken.jp
* remi-safe: ftp.riken.jp
* updates: ftp.riken.jp
No package phpMyadmin available.
* Maybe you meant: phpMyAdmin
Error: Nothing to do
※エラーは出てないですが問題はそこじゃないと判明泣
②よもやインストールするバージョン違うだけかも
Loaded plugins: fastestmirror
remi-php72 | 3.0 kB 00:00:00
remi-php72/primary_db | 234 kB 00:00:00
Loading mirror speeds from cached hostfile
* base: ftp.riken.jp
* epel: ftp.riken.jp
* extras: ftp.riken.jp
* remi-php72: ftp.riken.jp
* remi-safe: ftp.riken.jp
* updates: ftp.riken.jp
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.4.15.10-4.el7 will be installed
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.4.15.10-4.el7.noarch
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.4.15.10-4.el7.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.4.15.10-4.el7.noarch
-------(中略)-------
Dependency Installed:
libtidy.x86_64 0:5.4.0-1.el7 php-bcmath.x86_64 0:7.2.27-1.el7.remi
php-php-gettext.noarch 0:1.0.12-1.el7 php-tcpdf.noarch 0:6.2.26-1.el7
php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.26-1.el7 php-tidy.x86_64 0:7.2.27-1.el7.remi
Dependency Updated:
php.x86_64 0:7.2.27-1.el7.remi php-cli.x86_64 0:7.2.27-1.el7.remi php-common.x86_64 0:7.2.27-1.el7.remi
php-fpm.x86_64 0:7.2.27-1.el7.remi php-gd.x86_64 0:7.2.27-1.el7.remi php-json.x86_64 0:7.2.27-1.el7.remi
php-mbstring.x86_64 0:7.2.27-1.el7.remi php-mysqlnd.x86_64 0:7.2.27-1.el7.remi php-opcache.x86_64 0:7.2.27-1.el7.remi
php-pdo.x86_64 0:7.2.27-1.el7.remi php-process.x86_64 0:7.2.27-1.el7.remi php-xml.x86_64 0:7.2.27-1.el7.remi
php-xmlrpc.x86_64 0:7.2.27-1.el7.remi
Complete!
できた!