I am new to WAMP and I have just installed it today.
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 7.
Best Solution
Change the file content of
c:\wamp\alias\phpmyadmin.conf
to the following.Note: You should set the
Allow
Directive to allow from your local machine for security purposes. The directiveAllow from all
is insecure and should be limited to your local machine.Here my WAMP installation is in the
c:\wamp
folder. Change it according to your installation.Previously, it was like this:
Modern versions of Apache 2.2 and up will look for a IPv6 loopback instead of a IPv4 loopback (your localhost).
This will allow only the local machine to access local apps for Apache.
Restart your Apache server after making these changes.