Need Help Installing phpMYAdmin

Problem installing phpMyAdmin

I am trying to build a LAMP stack for a test server and I am getting these errors

Installed:
  yum-plugin-priorities.noarch 0:1.1.31-42.el7

Complete!
[root@ip-172-31-13-158 httpd]# nano /etc/yum.repos.d/remi.repo
[root@ip-172-31-13-158 httpd]# rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
curl: (22) The requested URL returned error: 404 Not Found
error: skipping http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm - transfer failed
[root@ip-172-31-13-158 httpd]# yum -y update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.cs.pitt.edu
 * epel: mirror.beyondhosting.net
 * extras: mirror.vtti.vt.edu
 * remi-safe: repo1.ash.innoscale.net
 * updates: mirrors.lga7.us.voxel.net
No packages marked for update
[root@ip-172-31-13-158 httpd]# yum -y install phpmyadmin
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.cs.pitt.edu
 * epel: mirror.beyondhosting.net
 * extras: mirror.vtti.vt.edu
 * remi-safe: repo1.ash.innoscale.net
 * updates: mirrors.lga7.us.voxel.net
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-gd >= 5.3.7 for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-mbstring >= 5.3.7 for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-mysqli >= 5.3.7 for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-tcpdf-dejavu-sans-fonts for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-xmlwriter for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Running transaction check
---> Package php-gd.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libpng15.so.15(PNG15_0)(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libpng15.so.15()(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libjpeg.so.62()(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libXpm.so.4()(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libX11.so.6()(64bit) for package: php-gd-5.4.16-43.el7_4.1.x86_64
---> Package php-mbstring.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-mbstring-5.4.16-43.el7_4.1.x86_64
---> Package php-mysql.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-43.el7_4.1 for package: php-mysql-5.4.16-43.el7_4.1.x86_64
---> Package php-php-gettext.noarch 0:1.0.12-1.el7 will be installed
---> Package php-tcpdf.noarch 0:6.2.13-1.el7 will be installed
--> Processing Dependency: php-bcmath for package: php-tcpdf-6.2.13-1.el7.noarch
--> Processing Dependency: php-composer(fedora/autoloader) for package: php-tcpdf-6.2.13-1.el7.noarch
--> Processing Dependency: php-posix for package: php-tcpdf-6.2.13-1.el7.noarch
--> Processing Dependency: php-tidy for package: php-tcpdf-6.2.13-1.el7.noarch
---> Package php-tcpdf-dejavu-sans-fonts.noarch 0:6.2.13-1.el7 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: php-tcpdf-dejavu-sans-fonts-6.2.13-1.el7.noarch
---> Package php-xml.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.24)(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.22)(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.18)(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.13)(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1(LIBXML2_1.0.11)(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libxslt.so.1()(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
--> Processing Dependency: libexslt.so.0()(64bit) for package: php-xml-5.4.16-43.el7_4.1.x86_64
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package libX11.x86_64 0:1.6.5-1.el7 will be installed
--> Processing Dependency: libX11-common >= 1.6.5-1.el7 for package: libX11-1.6.5-1.el7.x86_64
--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.5-1.el7.x86_64
---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed
---> Package libjpeg-turbo.x86_64 0:1.2.90-5.el7 will be installed
---> Package libpng.x86_64 2:1.5.13-7.el7_2 will be installed
---> Package libxslt.x86_64 0:1.1.28-5.el7 will be installed
---> Package php-bcmath.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-bcmath-5.4.16-43.el7_4.1.x86_64
---> Package php-fedora-autoloader.noarch 0:1.0.0-1.el7 will be installed
---> Package php-gd.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-gd-5.4.16-43.el7_4.1.x86_64
---> Package php-mbstring.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-mbstring-5.4.16-43.el7_4.1.x86_64
---> Package php-pdo.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-pdo-5.4.16-43.el7_4.1.x86_64
---> Package php-process.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-process-5.4.16-43.el7_4.1.x86_64
---> Package php-tidy.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-tidy-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-tidy-5.4.16-7.el7.x86_64
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.4.16-7.el7.x86_64
---> Package php-xml.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-xml-5.4.16-43.el7_4.1.x86_64
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed
--> Running transaction check
---> Package compat-libtidy.x86_64 0:0.99.0-37.20091203.el7 will be installed
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: fontpackages-filesystem for package: dejavu-fonts-common-2.33-6.el7.noarch
---> Package libX11-common.noarch 0:1.6.5-1.el7 will be installed
---> Package libxcb.x86_64 0:1.12-1.el7 will be installed
--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.12-1.el7.x86_64
---> Package php-bcmath.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-bcmath-5.4.16-43.el7_4.1.x86_64
---> Package php-gd.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-gd-5.4.16-43.el7_4.1.x86_64
---> Package php-mbstring.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-mbstring-5.4.16-43.el7_4.1.x86_64
---> Package php-pdo.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-pdo-5.4.16-43.el7_4.1.x86_64
---> Package php-process.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-process-5.4.16-43.el7_4.1.x86_64
---> Package php-tidy.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-tidy-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-tidy-5.4.16-7.el7.x86_64
---> Package php-xml.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-xml-5.4.16-43.el7_4.1.x86_64
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Running transaction check
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed
---> Package php-bcmath.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-bcmath-5.4.16-43.el7_4.1.x86_64
---> Package php-gd.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-gd-5.4.16-43.el7_4.1.x86_64
---> Package php-mbstring.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-mbstring-5.4.16-43.el7_4.1.x86_64
---> Package php-pdo.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-pdo-5.4.16-43.el7_4.1.x86_64
---> Package php-process.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-process-5.4.16-43.el7_4.1.x86_64
---> Package php-tidy.x86_64 0:5.4.16-7.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-tidy-5.4.16-7.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-tidy-5.4.16-7.el7.x86_64
---> Package php-xml.x86_64 0:5.4.16-43.el7_4.1 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-43.el7_4.1 for package: php-xml-5.4.16-43.el7_4.1.x86_64
---> Package phpMyAdmin.noarch 0:4.4.15.10-2.el7 will be installed
--> Processing Dependency: php-simplexml for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Processing Dependency: php-zip for package: phpMyAdmin-4.4.15.10-2.el7.noarch
--> Finished Dependency Resolution
Error: Package: php-tidy-5.4.16-7.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-7.1.16-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-5.4.16-43.el7_4.x86_64 (updates)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php(zend-abi) = 20100525-64
Error: Package: phpMyAdmin-4.4.15.10-2.el7.noarch (epel)
           Requires: php-simplexml
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-simplexml
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-simplexml
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-simplexml
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               Not found
Error: Package: php-bcmath-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
Error: Package: php-tidy-5.4.16-7.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-7.1.16-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-5.4.16-43.el7_4.x86_64 (updates)
               php(api) = 20100412-64
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php(api) = 20100412-64
Error: Package: php-process-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
Error: Package: php-pdo-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
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-common-5.4.16-43.el7_4.x86_64 (updates)
               php-zip
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-zip
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               Not found
Error: Package: php-gd-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
Error: Package: php-mbstring-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
Error: Package: php-xml-5.4.16-43.el7_4.1.x86_64 (updates)
           Requires: php-common(x86-64) = 5.4.16-43.el7_4.1
           Installed: php-common-7.1.16-1.el7.remi.x86_64 (@remi-php71)
               php-common(x86-64) = 7.1.16-1.el7.remi
           Available: php-common-5.4.16-42.el7.x86_64 (base)
               php-common(x86-64) = 5.4.16-42.el7
           Available: php-common-5.4.16-43.el7_4.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4
           Available: php-common-5.4.16-43.el7_4.1.x86_64 (updates)
               php-common(x86-64) = 5.4.16-43.el7_4.1
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

[/code]

Please tell me how to solve this problem.
sharingsunshineAsked:
Who is Participating?
 
gr8gonzoConsultantCommented:
To be honest, I have no idea why phpMyAdmin is even in ANY yum repository. It's a pretty straightforward PHP script. I would NOT install this via yum or RPM - there's really no reason to do so, and it will likely only create dependency issues.

There's no compiling or anything crazy to install phpMyAdmin - you just download the script from phpmyadmin's site, put it into a folder, and follow the configuration instructions, and you're done.
1
 
Olgierd UngehojerSenior Network AdministratorCommented:
Try to install php packages and then phpmysql.
0
 
gr8gonzoConsultantCommented:
Try to install php packages and then phpmysql.
No, don't do that. That is bad advice. You have PHP 7.1 installed via yum - you DON'T want to just blindly install an older version of PHP over top of what you already have. You'll end up with more problems by trying to do that.

Again, there is NO reason to install phpMyAdmin via yum. Just install it manually like you would ANY other PHP script.
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

 
Olgierd UngehojerSenior Network AdministratorCommented:
How do you want run php script if you missing php packages ? First, you can have as many versions of php as you want. The errors shows that phpmysql depends on php 5,  phpmysql is prepared here like for php5. You can install missing packages from php7 to fix dependence or install php5 and run phpmysql with php5. If you will download phpmysql to folder and run script with missing php packages you will have probably many errors or limitations.  This how you doing installation is correct, is recommended to use packages from  prepared for OS distribution, because you can safety run updates, remove and keep clean system.
0
 
gr8gonzoConsultantCommented:
Olgierd - please stop making suggestions on this if you don't know what you're talking about. If you're truly a "senior" level network administrator, you should know better.

1. He has PHP installed already, if you bothered to look closely at the logs he provided.

2. It's phpMyAdmin, NOT phpMySql. MySQL is the database, PHP is the scripting language, and phpMyAdmin (PMA) is a web-based PHP script for managing the database.

3. Yum only THINKS that PHP 5 is a dependency because whomever built out the original RPM for the PMA package basically flagged those packages as a dependency. PHP as a language is required, but yum isn't smart enough to recognize that PHP 7 will work perfectly fine instead of PHP 5.

4. Yes you can have multiple copies of PHP installed but a senior network administrator should know better than to suggest installing a major component for the sake of running a minor application that will run BETTER on the newer, currently-installed version anyway. Plus, since this is a web-based app, you would need significant configuration changes to have two versions of PHP running side-by-side (e.g. different ports or different extensions) on the web server. Additionally, another copy of PHP sitting around is just another potential security vulnerability and another thing to maintain. Again, all things that a senior network admin should know. Bottom line is that you shouldn't install a second version of PHP for this.

5. Yum is notorious for being out of date unless you switch to some less reliable repositories. This is a good example - the version of PMA that yum wants to install is 4.4.15.10 but the current version of PMA is 4.8.0.1. This is just one more good reason to just install the latest script normally instead of using yum to install an old version. This is particularly important because PMA is one of the most commonly-attacked scripts ever, so staying up to date with it is very important.

So please stop telling the OP to do bad things. If you want to call yourself a senior level resource then you need to know when NOT to blindly do what the system suggests.
0
 
gr8gonzoConsultantCommented:
An even better alternative to PMA is a client side GUI like HeidiSQL. It will do the same thing as PMA without the risk of exposing a DB administration script to the public internet.

If you do install PMA, though, then make sure you implement IP whitelisting and/or pick a non-standard folder for it. A lot of people put it in "phpmyadmin" or "pma" or "myadmin" or "phpmy" or similar folders in the root folder of their site (so "http://yoursite.com/phpmyadmin" for example), and bots love to attack those locations. So DON'T pick those folders when installing. Pick an obscure name like "pma_green" or something that will not be hit by random drive-by script kiddies.
0
 
Olgierd UngehojerSenior Network AdministratorCommented:
gr8gonzo I spell wrong the name phpmyadmin but this not the case, you recommended to not standard installation. As you see admin
 sharingsunshine wants to use standard installation and there is probably a reason for it. If you really want to give advise provide a link to tutorial with your solution. RedHat Enterprise provide a support as well and if you will use other packages you may have a problem to get help from them.
0
 
gr8gonzoConsultantCommented:
@Olgierd
The point of this forum is not to just provide a link to a tutorial. The point is to learn and understand the problem and find the correct solution.

Yum is not always "standard installation" - if you start thinking like that and do not use anything but yum, then you are going to end up with a broken and vulnerable system. Package management is not always the correct answer. In this case, IT IS NOT THE CORRECT ANSWER. Standard installation for phpMyAdmin is to download the script and put it into a web-accessible folder and configure it.

It is obvious you do not know what phpMyAdmin is or how it works, so please stop suggesting solutions without knowing what the impact will be. Stop giving bad advice and assuming that "standard" is always the right way to go.

RedHat Enterprise provide a support as well and if you will use other packages you may have a problem to get help from them.
The OP has indicated he's either using CentOS or Fedora. All the signs indicate that he's using CentOS as his OS and using the Fedora yum repositories. These will NOT be eligible for Red Hat Enterprise support. They might have some degree of community support, but anyone who suggests that he should install PHP 5 from yum alongside PHP 7 is being lazy in their response and they don't care if the OP screws up his server. Personally, I -do- care, and I don't want sharingsunshine to end up with a broken or unstable system because people like you don't know any better and simply tell them to obey the package manager.

If you start mixing and matching yum repositories without knowing what you are doing, you WILL end up with a broken system because you'll end up installing conflicting packages that might not conflict within yum's understanding of dependencies but they conflict once installed, and even if you had enterprise support, they'd eventually just tell you that you need to do a wipe and reinstall.

This is the problem with the "follow any tutorial on the internet" mentality. There are lots of tutorials, including ones that teach you how to configure a CentOS server to use Fedora's yum repos, and if you follow nothing but tutorials without understanding the big picture, you will break your system.

As you see admin sharingsunshine wants to use standard installation and there is probably a reason for it
A lot of people try to use yum for everything possible because it's often an easy solution. The fact that he/she does not know how to respond to these errors further indicates that it's likely a "first try" type of situation.

Again, phpMyAdmin is a simple script. It does not require compilation, and is not architecture-dependent. There is ZERO reason to use yum to install it, and MANY reasons NOT to use yum to install it. And if you think that blindly letting yum install PHP 5 over top of PHP 7 is a correct or smart thing to do so that you can satisfy the requirements of one script that works on both PHP 5 and PHP 7, then you need to spend some more time learning about proper admin procedures. The script should be downloaded and installed manually. Period. Don't screw with his existing setup or tell him to do things that will overwrite what is already working.
1
 
Dave BaldwinFixer of ProblemsCommented:
Another database script that would work is Adminer.  https://www.adminer.org/  And it's a Single File install.
0
 
sharingsunshineAuthor Commented:
Thanks, for the help.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.