PHPMYADMIN installation on CentOS 6.5


  1. install phpmyadmin

yum -y install phpmyadmin

  1. Configuring PhpMyAdmin for Apache

Edit file —> /etc/httpd/conf.d/phpMyAdmin.conf

lias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin

Comment below section to allow everyone
<Directory /usr/share/phpMyAdmin/>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from All
Allow from 192.168.1.0/24 —————–> add ip mask
Allow from ::1
</IfModule>
</Directory>

  1. start service

service httpd restart

  1. access phpmyadmin page

http://localhostipaddress/phpMyAdmin

username: root
Password: Password —————> mysql password

Leave a comment