Install phpMyAdmin 4.3.10 on Fedora 21/20, CentOS/RHEL 6.6/5.11 - Comment Page: 3

This is guide, howto install phpMyAdmin 4.3.10 with Nginx or Apache on Fedora 21/20/19, CentOS 7/6.6/5.11 and Red Hat (RHEL) 7/6.6/5.11 servers. phpMyAdmin needs web server with PHP and MySQL database. This guide uses Apache web server with PHP 5.6 or Nginx web server with PHP 5.6 (PHP-FPM) and MySQL 5.6 database server or MariaDB 10/5.5 database server. You can also use your already installed versions of web server, PHP and MySQL. If you want to install phpMyAdmin with Apache then use a - [Apache] sections and if you want install phpMyAdmin with Nginx then use b - [Nginx] sections. 1. Install Needed Web and Database Servers [Apache] 1.1a Install the whole LAMP environment with...

120 comments on “Install phpMyAdmin 4.3.10 on Fedora 21/20, CentOS/RHEL 6.6/5.11 - Comment Page: 3

1 2 3
    1. Hi JR,

      I tried to follow your steps. I install Remi repository.

      Reply

      • [[email protected] ~]$ sudo rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
        [sudo] password for website1:
        Retrieving http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
        warning: /var/tmp/rpm-tmp.8OGCXY: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
        Preparing... ########################################### [100%]
        package epel-release-6-8.noarch is already installed
        [[email protected] ~]$ sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
        Retrieving http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
        warning: /var/tmp/rpm-tmp.nSb289: Header V3 DSA/SHA1 Signature, key ID 00f97f56: NOKEY
        Preparing... ########################################### [100%]
        package remi-release-6.5-1.el6.remi.noarch is already installed
        [[email protected] ~]$

        Reply
      • I install phpMyAdmin.


        [[email protected] ~]$ sudo yum --enablerepo=remi install phpmyadmin
        [sudo] password for website1:
        Loaded plugins: fastestmirror, refresh-packagekit, security

        Error getting repository data for remi, repository not found
        [[email protected] ~]$ sudo yum --enablerepo=remi,remi-test install phpmyadmin
        Loaded plugins: fastestmirror, refresh-packagekit, security
        Loading mirror speeds from cached hostfile
        * base: mirror.upsi.edu.my
        * extras: centos.mirror.secureax.com
        * updates: ossm.utm.my
        Setting up Install Process
        No package phpmyadmin available.
        Error: Nothing to do
        [[email protected] ~]$

        Reply
        • Hi dhenyismail,

          Please run first following command:

          
          yum clean all
          

          Then, could you post output of following commands:

          
          yum --enablerepo=remi repolist
          
          yum --enablerepo=remi info phpmyadmin
          
          Reply
      • It Works perfectly on my Fedora 21, thanks

        Reply
    2. Hi!
      Great tutorial, but I have a minor problem.
      When I try to install phpmyadmin with:


      yum --enablerepo=remi install phpmyadmin

      ## And

      yum --enablerepo=remi,remi-test install phpmyadmin

      I get these errors:


      Error: Package: php-bcmath-5.4.28-1.el6.remi.x86_64 (remi)
      Requires: php-common(x86-64) = 5.4.28-1.el6.remi
      Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
      php-common(x86-64) = 5.5.12-1.el6.remi
      Available: php-common-5.3.3-26.el6.x86_64 (base)
      php-common(x86-64) = 5.3.3-26.el6
      Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
      php-common(x86-64) = 5.3.3-27.el6_5
      Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.27-1.el6.remi
      Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.28-1.el6.remi
      Error: Package: php-recode-5.4.28-1.el6.remi.x86_64 (remi)
      Requires: php-common(x86-64) = 5.4.28-1.el6.remi
      Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
      php-common(x86-64) = 5.5.12-1.el6.remi
      Available: php-common-5.3.3-26.el6.x86_64 (base)
      php-common(x86-64) = 5.3.3-26.el6
      Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
      php-common(x86-64) = 5.3.3-27.el6_5
      Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.27-1.el6.remi
      Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.28-1.el6.remi
      Error: Package: php-tidy-5.4.28-1.el6.remi.x86_64 (remi)
      Requires: php-common(x86-64) = 5.4.28-1.el6.remi
      Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
      php-common(x86-64) = 5.5.12-1.el6.remi
      Available: php-common-5.3.3-26.el6.x86_64 (base)
      php-common(x86-64) = 5.3.3-26.el6
      Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
      php-common(x86-64) = 5.3.3-27.el6_5
      Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.27-1.el6.remi
      Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
      php-common(x86-64) = 5.4.28-1.el6.remi
      Error: Package: phpMyAdmin-4.1.14-1.el6.remi.noarch (remi)
      Requires: php-gmp
      Available: php-common-5.3.3-26.el6.x86_64 (base)
      php-gmp
      Available: php-common-5.3.3-27.el6_5.x86_64 (updates)
      php-gmp
      Available: php-common-5.4.27-1.el6.remi.x86_64 (remi)
      php-gmp
      Available: php-common-5.4.28-1.el6.remi.x86_64 (remi)
      php-gmp
      Installed: php-common-5.5.12-1.el6.remi.x86_64 (@remi-php55)
      Not found
      You could try using --skip-broken to work around the problem
      You could try running: rpm -Va --nofiles --nodigest

      I’ve tried doing the yum clean all. So here’s the output of yum –enablerepo repolist and yum –enablerepo=remi info phpmyadmin:


      [[email protected] ~]# yum --enablerepo=remi repolist
      Loaded plugins: fastestmirror, security
      Loading mirror speeds from cached hostfile
      * base: mirror.fysik.dtu.dk
      * epel: mirrors.coreix.net
      * extras: mirror.informatik.hs-fulda.de
      * remi: mirror.1000mbps.com
      * updates: ftp.plusline.de
      repo id repo name status
      base CentOS-6 - Base 6,367
      epel Extra Packages for Enterprise Linux 6 - x86_64 10,769
      extras CentOS-6 - Extras 14
      nginx nginx repo 56
      remi Les RPM de remi pour Enterprise Linux 6 - x86_64 1,494
      updates CentOS-6 - Updates 883
      repolist: 19,583

      [[email protected] ~]# yum --enablerepo=remi info phpmyadmin
      Loaded plugins: fastestmirror, security
      Loading mirror speeds from cached hostfile
      * base: mirror.fysik.dtu.dk
      * epel: mirrors.coreix.net
      * extras: mirror.informatik.hs-fulda.de
      * remi: mirror.1000mbps.com
      * updates: ftp.plusline.de
      Available Packages
      Name : phpMyAdmin
      Arch : noarch
      Version : 4.1.14
      Release : 1.el6.remi
      Size : 4.7 M
      Repo : remi
      Summary : Web based MySQL browser written in php
      URL : http://www.phpmyadmin.net/
      License : GPLv2+
      Description : phpMyAdmin is a tool written in PHP intended to handle the administration of
      : MySQL over the Web. Currently it can create and drop databases,
      : create/drop/alter tables, delete/edit/add fields, execute any SQL statement,
      : manage keys on fields, manage privileges,export data into various formats and
      : is available in 50 languages

      Oh, and other informations:

      OS: CentOS 6.5 (Final)
      Web service: nginx
      PHP version: 5.5.12

      I hope you can help me resolve these problems.

      Reply
      • Hi UltraG33k,

        I have to update this guide, when I have time to test this on every system.

        Try following install command instead:

        
        yum --enablerepo=remi,remi-php55 install phpmyadmin
        
        Reply
        • yes I was having the same problem but this seems to have solved it, just changed 55 to 56 for my system fedora 20 php5.6.

          Reply
    3. That worked perfectly! Thanks again for a great tutorial :)

      Reply
      • Excellent, you are welcome! I will update and check this guide soon with latest version.

        Reply
    4. Hello, I struggled for two days and fail to install phpmyadmin.
      My configuration is: vps, centos 6, nginx, mysql. I tried everything you wrote and every time I get “This page can’t be displayed”. I do not know what to do, perhaps I’ll send my account details that you look there?

      Thanks for everything you do for us.

      Reply
    5. Now I have this error:


      [[email protected] ~]# service nginx start
      Starting nginx: nginx: [emerg] unknown directive "PK" in /etc/nginx/sites-enabled/phpMyAdmin-4.2.0-all-languages.zip:2
      [FAILED]
      [[email protected] ~]#

      Reply
    6. Hi JR,

      I have RHEL server 6.5. I followed your instructions to installed Apache 2.2, PHP 5.5.13, MySQL 5.5.38. They work great!
      However when I install phpmyadmin with yum –enablerepo=remi,remi-php55 install phpmyadmin
      I got this error:
      Error: Package: php-recode-5.5.13-3.el6.remi.x86_64 (remi-php55)
      Requires: librecode.so.0()(64bit)
      You could try using –skip-broken to work around the problem
      You could try running: rpm -Va –nofiles –nodigest

      Would you please help me out? Thanks a lot!
      Isabella

      Reply
    7. Hi JR,

      I follow your instruction to install Apache Server, MySQL and phpadmin.
      However, after the installation, I got a 404 not found error when I try to test myphpmin on http://localhost/phpmyadmin.
      Is there anything I can check to find out the problem?
      Thanks a lot!!

      Reply
      • I found the solution!

        Just to soft link the folder from /usr/share/phpMyAdmin to /var/www/html:
        sudo ln -s /usr/share/phpMyAdmin /var/www/html/phpMyAdmin

        Thanks a lot!!

        Reply
    8. Pretty! This has been an extremely wonderful post. Thanks for supplying this information.

      Reply
    9. Hi again!

      I just installed Fedora 21 on my server. Is this tutorial still compatible?

      Reply
      • Hi UltraG33k,

        Yes, it should be. I haven’t tested this yet, but if you install following remi repo:

        
        rpm -Uvh http://rpms.famillecollet.com/remi-release-21.rpm
        

        Then it should work. phpMyAdmin version is of course newer.

        Please let me know how it goes and I update this guide. :)

        Reply
    10. Have you a “How to” install phpMyAdmin on Fedora 28.?

      Reply
    11. nginx: [emerg] unknown “root” variable

      Reply
1 2 3

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close