Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed WAMP 2 and am using firefox 3.6. I have saved my php file test.php in C:\wamp\bin\apache\Apache2.2.11\htdocs and I now open http://localhost/test.php in my firefox browser but I get a file not found error

Not Found

The requested URL /test.php was not found on this server.

What am I doing wrong?

share|improve this question
up vote 0 down vote accepted

Place your files in the www directory. Right click on the WAMMP icon on the taskbar > Click on www directory to launch the directory and place your php files there.

Also don't forget to start all services


Alternatively you can also use XAMPP. In XAMPP you have to place the files directly in XAMPP > htdocs folder.

XAMPP also has a plugin for TOMCAT so that you can test java apps locally.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.