can't access phpmyadmin
Posted by: mjswamp (---.hsd1.co.comcast.net)
Date: May 28, 2012 07:31PM

Hi, I'm trying to install WordPress using WAMP server to my local machine. I've installed wamp, but when I click phpMyAdmin to continue set up I receive this error: "Forbidden: You don't have permission to access /phpmyadmin/ on this server".

I've allowed apache server in my Norton 360 firewall, but that does not help either.

Please, what can I do to access phpMyAdmin and use Wamp?

Options: ReplyQuote
Re: can't access phpmyadmin
Posted by: RiggsFolly (---.ppp.as43234.net)
Date: May 29, 2012 11:02AM

It sounds like you have either messed with the wamp/alias folder ! Or you are running the phpmyadmin from another PC.

There should be a file in that folder called 'phpmyadmin.conf'

And it should look like this:-

---------------------------------------------------------

Alias /phpmyadmin "D:/wamp/apps/phpmyadmin3.3.9/"

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

<Directory "D:/wamp/apps/phpmyadmin3.3.9/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

------------------------------------------------------------

NOTE: My wamp is on D: yours may be on C: or somewhere else, change accordingly.

In its default state it only allows access to phpmyadmin from the localhost=127.0.0.1 machine ( security feature )

if you want to allow access to it from other locationss, read the note at the top.

PS. It may be best to change it to allow from 192.168.x where x is the third triplet of your subnet. Leave the fourth triplet blank to allow from anywhere on your internal network or add multiple "allow from" addresses to be more specific.

Options: ReplyQuote


Sorry, only registered users may post in this forum.