Fixing WAMPServer 403 Forbidden error on Windows 8

wampserver_windows_8

Installed WAMPServer onto my laptop today to do some Moodle theme development but was surprised to hit a “403 Forbidden” error when trying to launch http://localhost

Quick Google later finds http://forum.wampserver.com/read.php?2,91914,111640 on the WAMPServer forums

For those who don’t want to click the solution (by user kivikall) is copied below…

Modify the apache HTTPD.CONF file. Change "Listen 80" to "Listen 0.0.0.0:80

Remember to restart all services after making the change and you’re good to go 🙂

Update: just reinstalled wampserver after wiping my Win8 laptop and had a different problem with the wampserver tray icon staying red \ Offline. After trying a few different solutions the one found on http://forum.wampserver.com/read.php?2,116611 seems to do the trick:

– right click on wampserver tray icon
– go to Apache > Service > Install Service
– go to MySQL > Service > Install Service

Check services.msc (or via Control Panel) and you should have two new entries called wampapache and wampmysqld, click Restart all Services in wampserver and you should be back online.

Advertisements

12 Responses to Fixing WAMPServer 403 Forbidden error on Windows 8

  1. skptel says:

    thank y…………..

  2. Umesh Shardul says:

    i can access localhost as well as phpmyadmin .
    But when i am trying to run my project it cant run and says “You don’t have permission to access / on this server.”
    please fix this , i am using WIN 8 of 64 bit .
    Thnx in advance .

    • gshaw0 says:

      Hi Umesh, have you tried loading up the direct path to the main page of your site e.g. http://localhost/mywebpage.php (or whatever page type you’re using), do you still get the same error?

      • Javier says:

        thank you sooo much, it is so silly I only needed to add .php, i feel so stupid I’ve been trying to solve this problem for hours and finally thanks to you my friend

  3. Unknown says:

    Thanks a ton 🙂

  4. Phanindra says:

    I followed the above suggestions, still am getting the error

    Forbidden

    You don’t have permission to access /myschool/ on this server.

    Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80

    Please help

    • gshaw0 says:

      Hi, what happens if you try the full path to one of the content files (e.g. index.php or anything else in the myschool folder)? If your site is using an unusually named default page it might not be in the list of default documents Apache expects.

  5. am Oscar says:

    thank you it works very well but I have issue to connect my site to wampserver showing ftp error

  6. Benjamin says:

    thanks man, it has worked

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: