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?

link|improve this question

61% accept rate
feedback

1 Answer

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

WAMMP

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.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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