WAMP Error: 403 Forbidden – You don’t have permission

WAMP 403 Forbidden

Very often I see people complaining about WAMP, that it is not working on their Windows 7 or Windows 8 and showing an error like the above picture. Well the problem is really easy to solve and today I’m gonna show you how to do that.

To correct the error you need to edit a file and put the service online. Just follow the following steps to do that:

  1. First of all you need to edit the phpadmin.conf file. To find that file you’ve to browse to c:\wamp\alias folder or installation_directory\wamp\alias folder.
  2. Now open a Notepad and drag the phpadmin.conf in the Notepad or open with the Notepad.
  3. Now you’ll see something like this:
    <Directory "c:/wamp/apps/phpmyadmin3.5.1/">
     Options Indexes FollowSymLinks MultiViews
     AllowOverride all
     Order Deny,Allow
     Deny from all
     Allow from 127.0.0.1
    </Directory>
  4. Delete the Deny from all line and replace 127.0.0.1 with all. [Warning: do not copy and paste the lines below. If your phpmyadmin version is different, it may not work. Just change as per instructions] The lines will look like:
    <Directory "d:/wamp/apps/phpmyadmin3.5.1/">
     Options Indexes FollowSymLinks MultiViews
     AllowOverride all
     Order Deny,Allow
     Allow from all
    </Directory>
  5. Now save the file.
  6. If your WAMP is not open, turn it on or if it’s already opened, click on the task bar button and click on Restart All Services .
  7. The WAMP icon will turn Red > Yellow > Green. Now, once it’s Green, click on the icon again and click on Put Online.

Now open your browser and visit http://localhost. You’ll find it working as normal as it was before.

If you like the post, please share with your friends and family. And if you like my blog, you can join the fan page to get the latest updates. And obviously I suggest you to email subscribe through the form given at the top right corner to get the latest updates into your mail box, oh, I don’t spam.

If you still have any question or problem, please let me know. I’ll try my best to solve your problem.

Shafiul - শফিউল

I'm Shafiul Alam Chowdhury, I like to call myself a blogger, but I don't really blog that much. My favourite pass time is watching movies and reading books. I like to inspire people, even though me myself is not much become inspired by other people :P . I own a business, currently it focuses developing websites for companies and people. The site is SiteNameBD.com. Beside these have great plans for me and my country.

5 thoughts on “WAMP Error: 403 Forbidden – You don’t have permission

  1. Hi bro, Nice article. 🙂

    But I think your solution will work when we will be unable to access http://localhost/phpmyadmin/. But if we can’t access http://localhost/ than we should edit httpd.conf on \wamp\bin\apache\apache[version]\conf

    Find

    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all

    Replace with

    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all

      1. You’r welcome!
        Shafiul bro, There is no phpadmin.conf available on \wamp\alias. phpadmin.conf will be phpmyadmin.conf. I think its just an unintentional typing mistake. But new users will search with that name. 🙂

        Thanks

    1. Dear AmnKhan, did you followed all the 7 steps? Cause I found another guy trying to do the same, but he didn’t follow the last step & when he did follow, it was OK. So please try all the steps, I hope you’ll find everything working properly. If it doesn’t work, please let me know.
      Thanks for letting me know.

Leave a Reply