skip to Main Content

Please I need help with accessing my html/php file with localhost on my browser,i turn my xampp on and tried to access my html/php file,but it is still not working
That’s what I keep getting everytime

2

Answers


  1. Normally you don’t have to enter xampp/htdocs in the link. localhost is reffering to your xampp htdocs folder "automatically". Try localhost/phpinvscode

    If you put your index.html file in the htdocs folder directly you would only need to enter localhost in the browser.

    Login or Signup to reply.
  2. The path component of the URL to your file starts at the directory specified in the DocumentRoot configuration option for your Apache HTTPD server. This probably defaults to the htdocs directory.

    It doesn’t start at the root of your filesystem. Web servers do not, by default, expose every file on your hard disk to the network (which would be a scary default for security reasons).

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search