How to install phpMyAdmin with Apache on a CentOS 7 server?

phpMyAdmin used to provide graphical user interface for your databases. Accessing or performing each database operation using SQL commands is quite complicated job, phpMyAdmin makes it easy! 

Requirements -

1. Root access of server
2. LAMP installation (Linux, Apache, MariaDB, and PHP) on your server

Installation Steps -

1. EPEL Installation - 
#yum install epel-release
The EPEL is nothing but 'Extra Packages for Enterprise Linux' contains many additional packages, including the         phpMyAdmin package. 

2. phpmyadmin Installation - 
#yum install phpmyadmin
Using this command, phyMyAdmin creates the necessary tables for itself. phyMyAdmin installation is complete now! 

You can check it -  /etc/httpd/conf.d/phpMyAdmin.conf
 
3. Restart the Apache Web Service - #restart httpd.service

You can access the phpMyAdmin using any of the below URLs - 

http://your_server_domain_name:8000/phpmyadmin/

Was this answer helpful?

 Print this Article

Also Read

How to perform LAMP installation on CentOS?

LAMP stands for Linux, Apache, MySQL, and PHP. It is nothing but Linux operating system with...

Basic exim commands

1. REMOVE MAILS BY ID - /usr/sbin/exim -v -Mrm (MAIL ID HERE) 2. LIST QUEUED MAILS -...

Daily Useful Linux Commands

Finding the username from provided hosting service name - /script/whoowns domain_name Finding...

Disk Usage Useful Command

Note - You can replace /home with correct '/' drive on your server. 1. Checking the disk usage -...

How to backup and restore large MySQL databases using mysqldump?

1. Backup database:#mysqldump -u username -p[username_password] databasename >...