Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't access PHPMyAdmin. I have installed XAMPPlite 1.6.5 on Windows 7. I haven't changed any config, except .htaccess, where I added the third line:

Order deny,allow
Deny from all
Allow from localhost

Unfortunately, I get the following error when I try to access phpMyAdmin or security from localhost.

Access forbidden!

You don't have permission to access the requested object. It is either read-protected or not readable by the server.

share|improve this question
I wonder why I was downvoted – Casebash Aug 25 '12 at 5:29

First question: Are you actually accessing it from localhost? ( ONLY!)

In your httpd.conf file or somewhere in the main Apache config, you've probably got a line like "AllowOverride None" and should be set to All instead. (That prevents .htaccess files from working properly (security).

Or even it might in the PHPMyAdmin configuration. I couldn't tell you where that is because I don't know what operating system you use (it varies).

share|improve this answer
Yes, I am accessing it from localhost (localhost/xampp). I am using Windows – Casebash Aug 25 '12 at 4:37
@Casebash - Windows... In your Apache config, there may be a file in the includes folder called "security.conf" or similar. Look for a block with PHPMyAdmin in a VirtualHost container and see if there's an AllowOverride None – ionFish Aug 25 '12 at 4:47
I can't even find an includes folder :-( – Casebash Aug 25 '12 at 5:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.