I installed wamp server. I created a .php program called test.php and saved it in the htdocs folder. When I execute the program, using: http://localhost/test.php
I get a message that says
"Not Found
The requested URL /test.php was not found on this server."
I have double checked to make sure the program is there. I noticed that the Apache files are loaded in a folder called bin in the wampserver folder.
Any ideas?
Newbie ?: localhost can't find .php
Moderator: General Moderators
Re: Newbie ?: localhost can't find .php
must be the document root problem.
1. Check in the httpd.conf file for the following
See if it directs to the htdocs folder exactly.
2. Check if your apache is running or not.
1. Check in the httpd.conf file for the following
Code: Select all
DocumentRoot
2. Check if your apache is running or not.
Re: Newbie ?: localhost can't find .php
Thanks! That was the problem. Got it fixed.
Again, thanks a million!!!
Katkat
Again, thanks a million!!!
Katkat