FAQ: How to fix error 403: access forbidden for phpmyadmin in wampserver?
The Problem:
PhpMyadmin works fine on localhost but accessing it over a network gives error 403: Access Forbidden.
Reason:
Reason is pretty clear – phpmyadmin is not configured to be accessed over a network. Permission to access it over network is not given.
Solution:
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/phpmyadmin3.1.3.1/" # 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.
Most Commented Posts
If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.


hi, i hope anybody can help. i’m going crazy, i tried the above code but i still can’t get into phpmyadmin? what should i then do??
didn’t fix the problem for me…
Thanks for the helpful content above it really helped me solve my lan alias issues as well as accessing phpmyadmin in a lan
THANK U SO MUTCH IT WORKS <)
YEAAAAAA
hi i would like to request for the solution that i have try for last 3 weeks,can u kindly give me the solution of not working phpmyadmin in wamp…
its not working still giving same error i have version 2.0
@aasim you need to restart apache after that.