- install phpmyadmin
yum -y install phpmyadmin
- 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>
- start service
service httpd restart
- access phpmyadmin page
http://localhostipaddress/phpMyAdmin
username: root
Password: Password —————> mysql password