Thursday, February 21, 2013

Installing PhpMyAdmin in centos

yum install phpmyadmin

vi /etc/httpd/conf.d/phpMyAdmin.conf

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

<Directory /usr/share/phpMyAdmin/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Allow from
Allow from

Access url : http://ip/phpmyadmin , it will prompt for username/password. Enter your mysql root password.

While accessing the above url, you are getting this error in your apache error log

AH01630: client denied by server configuration: /usr/share/phpMyAdmin

Take a backup of your httpd.conf
Edit as follows

<Directory "/usr/share/phpMyAdmin">
    AllowOverride None
    Options None
    Require all granted
Restart httpd

No comments:

Post a Comment