Tuesday 15 August 2017

How to: - Fix PHPMyAdmin 403 Forbidden Error

When we install phpmyadmin using yum in RHEL7/Centos7. By default phpmyadmin installed under /usr/share/phpmyadmin and the apache configuration file is located in /etc/httpd/conf.d/phpmyadmin.conf.

Issue: 403 Forbidden Error:

You don't have permission to access /phpmyadmin/ on this server.


[root@linuxcnf ~]# vi /etc/httpd/conf.d/phpmyadmin.conf

Remove or comment the first two lines in bold.

#Order Allow,Deny
#Deny from all
Allow from

Restart the apache server.

[root@linuxcnf ~]# service httpd restart

Once this is done, you should be able to see phpmyadmin working by pointing your browser to http://<server address>/phpmyadmin

No comments:

Post a Comment