You are on page 1of 2

FAQ: How to fix error 403: access

forbidden for phpmyadmin in


wampserver?
76 Replies
UPDATE:

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.

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

open httpd.conf replace all text “Deny all”


with “Allow All”

You might also like