Need help?

Our experts have had an average response time of 13.14 minutes in February 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

How to fix forbidden error in wamp server?

by | Jul 29, 2020

The 403 forbidden error commonly triggers due to permission mismatch while installing the WAMP server.

As a part of our Server Management Services, we help our Customers to fix permission related errors regularly.

Let us today discuss the possible causes and fixes for this error.

What is forbidden error in wamp server?

During the installation of wamp server or during an upgrade operation, it often triggers the forbidden error message. A typical error message looks like the one given below:
forbidden error in wamp server

Forbidden errors generally occur due to permission mismatch and we can solve it by editing .conf file. In most cases, 403 forbidden errors will occur in both “LocalHost” and “PhpMyadmin”. Let us now look at how to fix this error.

How to fix 403 forbidden errors in wamp server?

The 403 forbidden error can be fixed by replacing the deny rules in the configuration file. This can be performed with the steps below:

1.Open “httpd.conf” file from below path.

C:\wamp\bin\apache\apache2.2.22\conf\httpd.conf (This is the drive where you have installed wamp).

Or

Open from TaskBar Icon. Left Click on Wamp Server Icon => Apache =>httpd.conf

2.Once the http.conf file is identified, find these lines from httpd.conf file


Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

And replace it with


Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all

3.Also, find these code in httpd.conf file

Order Deny,Allow
Deny from all
Allow from 127.0.0.1

And replace it with

Order Deny,Allow
Deny from all
Allow from All

Save the file and close it.

4.Then go to Wamp Server Icon, right click on it and Press Restart All Services.

5.In Wamp Server, click on Localhost.OR goto your default web browser and write “Localhost” in the URL.

Steps to fix the above error in phpmyadmin
  1. Go to the C :/WAMP/alias/phpmyadmin.conf (click to open the file).
  2. Then, Press CTRL+F and find the following code
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1

    And replace this code with the following code

    Order Deny,Allow
    Deny from all
    Allow from all

    Save and close the file.

  3.  Now restart all services of WAMP Server.
  4. Open Web Browser and write localhost/phpmyadmin. It will start working

[Need any further assistance in fixing permission errors? – We’re available 24*7]

Conclusion

In short, 403 forbidden error commonly triggers due to permission mismatch while installing the WAMP server. Today, we saw how our Support Engineers fix this error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

7 Comments

  1. Evissa

    Böyle bi sorunum vardı bu yazı sayesinde çözdüm teşekkür ederim.

    Reply
  2. abcd

    Thanks a lot for your help. It freaking worked !!!!!

    Reply
  3. Valsa

    Thanks alot, you solved all my problems with wamp server.

    Reply
  4. Samoda Wijesooriya

    thank you very much. keep it up and it is very useful to persons like us.

    Reply
  5. Jerry

    Sorry, but this did not work for me, it’s made no difference

    Reply
    • Hiba Razak

      Hi,

      Our Experts can help you with the issue, we’ll be happy to talk to you on chat (click on the icon at right-bottom).

      Reply
  6. ANdy

    WORKS! However the file was httpd.conf and not httpd-ssl.conf or httpd-vhosts.conf.

    I just threw it on the end of the file and it WORKS. Thanks mate.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF