Home » How to Install phpMyAdmin on CentOS

How to Install phpMyAdmin on CentOS

by Online Tutorials Library

How to Install phpMyAdmin on CentOS.


PhpMyAdmin is a free and open source tool for the administration of MySQL and MariaDB. As a portable web application written in PHP, it has become one of the most popular administration tool for MySQL. In this tutorial, we will learn the steps involved in the installation of phpMyAdmin on CentOS


  • CentOS 7
  • Login as root on the terminal
  • Latest version of PHP


Installation includes following steps.

1. Download and Extract the Compressed File

In order to Access phpMyAdmin, we have to download its latest version by clicking the link https://files.phpmyadmin.net/phpMyAdmin/4.7.7/phpMyAdmin-4.7.7-all-languages.tar.gz this is a compressed file in tar.gz format which needs to be extracted. Execute the following command for ths purpose.

How to Install phpMyAdmin on CentOS

2. Start the PHP development server

Change the current working directory to phpMyAdmin-4.7.7-all-languages by typing cd phpMyAdmin-4.7.7-all-languages and then execute the followng command to start the PHP development server listening on port 8081.

How to Install phpMyAdmin on CentOS 1

3. Access on browser

We can access phpMyAdmin by typing localhost:8081 in the browser’s search bar. The browser shows the appearance like following.

How to Install phpMyAdmin on CentOS 2

Enter the Database username and password. Press Enter to continue. This will log into an interface known as phpMyAdmin where we can execute our SQL queries.

How to Install phpMyAdmin on CentOS 3

Hence, we have installed and get started with phpMyAdmin on CentOS.

Next TopicInstall Wine

You may also like