I am getting a large number of response that steps mentioned below are not working. It might be a firewall issue as well. Therefore, first and foremost, check that the port you are using for accessing phpmyadmin is not blocked by Windows firewall. Proceed below once you are sure of it.
PhpMyadmin works fine on localhost but accessing it over a network gives error 403: Access Forbidden.
Reason is pretty clear – phpmyadmin is not configured to be accessed over a network. Permission to access it over network is not given.
Locate the file phpmyadmin.conf in your wamp installation. If you have wampserver version 2 or higher, this file can be found at C:\wamp\alias\phpmyadmin.conf (Of course assuming that you installed wamp in C:\wamp). For earlier wamp versions this file is at C:\wamp\Apache2\conf\alias\phpmyadmin.conf.
Once found,open this file. Contents of the file will be like the following:
Alias /phpmyadmin "c:/wamp/apps/phpmyadmin18.104.22.168/" # to give access to phpmyadmin from outside # replace the lines # # Order Deny,Allow # Deny from all # Allow from 127.0.0.1 # # by # # Order Allow,Deny # Allow from all # Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1
As it is clearly written in the file itself, replace the line Deny from all (second line from the bottom )with Allow from all. Save the file, restart apache and you are done.
PhpMyadmin can be accessed from outside now.