Search code examples
javascriptphphtmlcsswordpress

Forbidden You don't have permission to access this resource. Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.2.34 Server at localhost Port 80


I am working on localhost xammp as I installed xamp and wordpress successfully. Now when I run the php code and provide the path in the Chrome browser, an error message appears that you do not have the permission to access...

Forbidden You don't have permission to access this resource.

Apache/2.4.46 (Win64) OpenSSL/1.1.1g PHP/7.2.34 Server at localhost Port 80


Solution

  • I faced the same problem and this is what worked for me

    1. open your xammp file location
    2. copy the .html file to the htdocs folder
    3. then type localhost/