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
29 Comments to “FAQ: How to fix error 403: access forbidden for phpmyadmin in wampserver?”
Add Comments (+)-
didn’t fix the problem for me…
-
open httpd.conf replace all text “Deny all” with “Allow All”
-
-
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
-
It works for me…
thanks -
If you have reinstalled WAMP, then check the first line of the file. The line may contain wrong folder name.
-
its not working for me…… plz help me…….
-
Make sure you restart the wamp for the changes to take effect.
-
Make sure to restart wamp for the changes to take effect.
-
Thank You…….. It works!!!!!!!!
-
# Order Deny,Allow
# Deny from
# Allow from allmy code..and it works..just restart all services after that..:D
-
Thanks a lot……….
Finally I got the solution. -
Just delete the wamp folder completely then install the wamp server.
-
didn’t fix the problem
-
Funcionó perfectamente. Gracias amigo!
-
For those whom it is not working: please make sure that the server is “online” also.
To do this click your WAMP menu and look at the bottom. If it says “Put Online” then it is offline. Go ahead and click it.
This, along with the changes above should allow access from the outside.
-
no me ha funcionado hice todo lo que ustedes me recomendaron y nada sera que alguien podra tener la iniciativa de hacer un video tutorial en youtube, porque se que muchas personas les ustaria saber como hacer este procedimiento, gracias
-
Thanx a lot it is a really easy and useful solution. It just help me in seconds.
-
thank you ,
it works for me
-
whoooaaa…thnkz a alot dude!!!
-
wont this give a privacy problem for hacks?
“allow from all”
-
yeah,the fast solution is as this,learning from upside as well as my practice:
1st.search for httpd.conf under the install path,get C:\wamp\bin\apache\Apache2.2.21\conf;
2st.search for key word “Deny” and change it to “Allow”;
3st.Now restart all services,and you must have seen the problem been solved,enjoy~ -
It fixed my problem
-
THanks workx, after changing file, and restaring apatch
-
BILLION THANKS to u, let me back to my 2days left project
GOD BLESS

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??