Install PhpMyAdmin on centOS
Wed Feb 22, 2017 · 229 words

What is PhpMyAdmin?

PhpMyAdmin is one of the most popular applications for MySQL databases management. It is a free tool written in PHP. Through this software you can create, alter, drop, delete, import and export MySQL database tables. You can run MySQL queries, optimize, repair and check tables, change collation and execute other database management commands. Install PhpMyAdmin isn’t an easy task. You need to do several configuration after installation.

How to install PhpMyAdmin?

$ rpm -iUvh #Adding repository
$ yum -y update
$ yum -y install phpmyadmin #Install PhpMyAdmin

That’s it. You can start using it by url http:///phpMyAdmin, Ex.

Do following changes if you face 403 forbidden issue

$ sudo nano /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8
   <IfModule mod_authz_core.c>
     # Apache 2.4
       Require all granted
   <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from
     Allow from ::1

In order to reinitialising changes, we need to restart the apache server.

$ sudo apachectl restart #or:
$ /sbin/service httpd restart

I hope that some of this is useful to a few of you. There is always room for an improvements, find out another unix commands and make best use of it. Leave a note in the comments if you have any cool tricks to install PhpMyAdmin. Also checkout my another blog on installing Apache, php and mysql on Ubuntu server.

back · posts · who is yuvi? · contact · home