Home | Posts RSS | Comments RSS | Login

xampp 1.8.0 phpmyadmin access forbidden[solved]

Wednesday, July 18, 2012
Prolem
after upgrade to 1.8.0 from 1.7.7 under Ubuntu 12.04, i am not able to open PHPMyAdmin.
Even though i am on localhost i get this error message:
Access forbidden!

New XAMPP security concept:

Access to the requested object is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

If you think this is a server error, please contact the webmaster.

Error 403

localhost
Apache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.4


Answer:

Re: Error 403 for phpmyadmin [Solved]

Postby MrJxN » 14. July 2012 22:11
I was searching for this as I had the exact same problem. I tried the OP's solution first and it worked a charm. Thanks :)

In case this makes it more clear (especially for beginners), the steps I took (After backing up the original httpd-xampp.conf) :

In a terminal:
CODE: SELECT ALL
sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf


In gedit, Find: 


And add the line to the :
Require all granted

After this, the section reads:
CODE: SELECT ALL

    AllowOverride AuthConfig Limit
    Order allow,deny
    Allow from all
    Require all granted


Save the file, close gedit, then back at the terminal:
CODE: SELECT ALL
/opt/lampp/lampp restart


http://localhost/phpmyadmin/ now correctly loads.

MrJxN