How to install PHPMyAdmin on CentOS 7.3

CentOS Tutorial – This short tutorial is going to show you how to install PHPMyAdmin on CentOS 7.3 Server. As you know, PHPMyAdmin is a web based MySQL Server administration tool. With this tool we can easily manage our MySQL Server anywhere via web browser. Installing PHPMyAdmin on CentOS 7 is pretty easy and straight forward. Please follow these steps to get started


  • LAMP Server on CentOS 7.3
  • EPEL Repository installed on CentOS

Steps to install PHPMyAdmin on CentOS 7.3

Step 1. Install LAMP Server

In order to work, PHPMyAdmin needs a working LAMP Server. Please refers to my previous tutorial on how to install LAMP Server on CentOS 7.3 Server.

Step 2. Install EPEL Repository

We need to install EPEL repository first prior to phpmyadmin installation.

Step 3. Install phpmyadmin

Use this command to install phpmyadmin package

Step 4. Configure phpmyadmin

Before we can use phpmyadmin, we need to configure some other things. Edit the phpmyadmin.conf underĀ /etc/httpd/conf.d/

Now find any lines that say:

And change them to this one. This will enable access from any IP addresses.

So it should looks like this:

Now restart Apache web server

Now we can open PHPMyAdmin via web browser. Type the CentOS Ip address with the following format



install PHPMyAdmin on CentOS 7.3

Be the first to comment

Leave a Reply

Your email address will not be published.