fstar Posted November 25, 2006 Share Posted November 25, 2006 how do i test php pages in my web browser1.i have install apache server2.am working from the htdoc folderthis is the simple file i am trying to test<?phpecho "hello world";?>http://localhost/helloworld.phpthis is what comes up in the browserObject not found!The requested URL was not found on this server. can any one help explain in detail how to get this right, so i can view the pages the way they are intended to Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 25, 2006 Share Posted November 25, 2006 is php installed on your server? Quote Link to comment Share on other sites More sharing options...
fstar Posted November 25, 2006 Author Share Posted November 25, 2006 thanks for replying i dont know if php is install on the server, how do i find that out...i know about the remote server stuff..but i want to work off line..i have XAMPP installed, i thought it would set up every thing Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 25, 2006 Share Posted November 25, 2006 if XAMPP is installed then php should work.is the file in the htdoc folder or is it in a sub folder of the htdoc folder? Quote Link to comment Share on other sites More sharing options...
fstar Posted November 25, 2006 Author Share Posted November 25, 2006 yea its in a sub folder.. i named testzone.. Quote Link to comment Share on other sites More sharing options...
SoireeExtreme Posted November 25, 2006 Share Posted November 25, 2006 I don't know about XAMPP, but I would assume you need to type in your sub folder as well?! Quote Link to comment Share on other sites More sharing options...
TEENFRONT Posted November 25, 2006 Share Posted November 25, 2006 try http://localhost/testzone/helloworld.php 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.