Krisfr Posted June 16, 2007 Share Posted June 16, 2007 I made a very simple page called index.php, and it goes to the Firefox browser and says Opening with dialog box appears and if I say open with Firefox it opens another window the TEST phpinfo() works, I installed with WAMP base. <p>This page was created at <b> <?php echo date("h:i:s a", time()); ?> </b> on the computer running PHP.</p> As a Html file it works, it just does not show the PHP stuff ok= index.html not ok = index.php Thanks for your help in advanced Thanks Quote Link to comment https://forums.phpfreaks.com/topic/55861-solved-initial-setup-problem/ Share on other sites More sharing options...
Krisfr Posted June 16, 2007 Author Share Posted June 16, 2007 http://localhost/index.php If I use the above and go to the WAMP homepage and select the project, IT WORKS FINE, I just want to NOT have to go to the WAMP homepage and have the Apache to serve it up to the browser. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/55861-solved-initial-setup-problem/#findComment-275980 Share on other sites More sharing options...
pocobueno1388 Posted June 16, 2007 Share Posted June 16, 2007 Just create a folder for your project in the htdocs folder, then put your index.php file in it, and all you have to do is go to this url: http://localhost/folder_name/ Thats what works for me.... Quote Link to comment https://forums.phpfreaks.com/topic/55861-solved-initial-setup-problem/#findComment-275983 Share on other sites More sharing options...
Krisfr Posted June 16, 2007 Author Share Posted June 16, 2007 That is direct enough for me, IT does work Thanks for taking the time to hold my hand I dont know why they dont tell you this somewhere in WAMP I appreciate your help, I hope someone will help you when you need it, Maybe me after I get my big feet wet :) Quote Link to comment https://forums.phpfreaks.com/topic/55861-solved-initial-setup-problem/#findComment-276003 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.