hell_nishit Posted June 19, 2007 Share Posted June 19, 2007 hello group, i have installed apache 2.2.4 along with php 5.2.3.....and after making the necessary changes in the conf file i restarted it and until that everything was fine.... when i write a dummy code such as: <?php phpinfo(); ?> and save it as test.php in the document root of my localhost...and when i run it in a browser i get an error such as "HTTP 404 NOT FOUND" "The requested URL /test.php was not found on this server." where as when i only run http://localhost it works... what should i do? please help. Nishit. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 19, 2007 Share Posted June 19, 2007 Where are you saving test.php to? By default Apache servers the htdocs/ folder within Apache's installation folder. This is where you should be saving test.php to. Unless you have modified the document root in Apaches configuration file Quote Link to comment Share on other sites More sharing options...
Jimmy058910 Posted July 5, 2007 Share Posted July 5, 2007 I am having the same problem, but am using WAMP. was changing the directories at C:\wamp\www which was the WAMP defaults and I think that is where the files I should be editing for http://localhost are at Setting up the latest Apache, MySQL, and PHP and figuring out just the basics of these three programs and how they work together has been so unbelievably frustrating that I am willing to pay someone through paypal for some major help. I have PHP and MySQL for Dummies! Third Edition, and cant even begin to learn because I cannot get it set up correctly, but apparently I need PHP and MySQL for Retards! But I think I am in the right place to get off the right foot and thanks in advance! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted July 6, 2007 Share Posted July 6, 2007 Your post is a little confusing do you have WAMPServer package (wampserver.com) installed or separate installations of Apache, PHP and MySQL installed. When you say WAMP I think WAMPServer package. Quote Link to comment Share on other sites More sharing options...
Jimmy058910 Posted July 6, 2007 Share Posted July 6, 2007 Oh, I started with the individual ones and got no where. So then I moved onto the WAMP package. Is there like a walkthrough of the latest versions for AMP for installation? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.