Mainly for Wamp 2.4 and below;
(1)phpmyadmin.conf
Enter the alias directory under the wamp directory and open the phpmyadmin.conf
Find the following code
Just change Deny from all to Allow from all.
(2)
httpd.conf
Bin\apache\Apache2.4.4\conf\ httpd.conf under the WampServer installation directory
Find the following code
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Change Deny from all to Allow from all
In the Allow from 127.0.0.1 before adding #
After modification:
Order Deny,Allow
Allow from all
#Allow from 127.0.0.1