Followers

Monday, May 20, 2013

WAMP error: Forbidden You don't have permission to access /phpmyadmin/ on this server [closed]

The setup went well and localhost seems to work, but when I try to access phpMyAdmin I get this error:
Forbidden
You don't have permission to access /phpmyadmin/ on this server.
Why do I get this permission access error with phpMyAdmin?
I am using Windows Vista.

ANSWER:
Be carefull with the accepted answer, WAMP's phpmyadmin is configured to allow root with no password by default. Allow from all would open the database to the public. The real problem is that WAMP is binding to an IPv6 address on your version of Windows. To fix just add Allow from ::1 inc:\wamp\alias\phpmyadmin.conf 
Change the file content of c:\wamp\alias\phpmyadmin.conf to the following.

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all

Here my WAMP installation is in the c:\wamp folder. Change it according to your installation.
Previously, it was like this:

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
 
Restart your Apache server after making these changes..
SAME with Windows 7.

YouTube: http://youtu.be/7fo4h-n5TN0
Source: 1, 2

3 comments: