Vitamin Posted October 3, 2008 Share Posted October 3, 2008 OK this is what I need to do. I have a school project where I need to design a web video store application using a MS Access database. I'm going to use apache and PHP. I want to be able to test my code at home so I went and downloaded the apache web server and got it configured so the root directory is where my index.php page is located, but when I go to http://localhost/ I get this http://img294.imageshack.us/my.php?image=indexlg1.jpg When i click the link to index.php it just shows me the code, but if I make it a index.html it shows the site just how it should look. Am I forgetting something in a setting somewhere? Edit: I'm on windows (if the SC did'nt give it away I can provide more pics if needed. Quote Link to comment Share on other sites More sharing options...
JasonLewis Posted October 3, 2008 Share Posted October 3, 2008 Strange, well my only suggestion is to use a package like WampServer. It comes with PHP, Apache and MySQL and is easy to install and requires barely any configuration. That would be my suggestion. Quote Link to comment Share on other sites More sharing options...
Vitamin Posted October 3, 2008 Author Share Posted October 3, 2008 ok thanks. Ill try that out. Quote Link to comment Share on other sites More sharing options...
Vitamin Posted October 3, 2008 Author Share Posted October 3, 2008 Well I figured it out after reading this tutorial http://www.thesitewizard.com/apache/install-apache-2-windows.shtml There were a few settings I forgot. Thanks again Quote Link to comment Share on other sites More sharing options...
Acs Posted October 10, 2008 Share Posted October 10, 2008 Was it the DirectoryIndex that wasn't set up with index.php? Quote Link to comment Share on other sites More sharing options...
Vitamin Posted October 14, 2008 Author Share Posted October 14, 2008 Was it the DirectoryIndex that wasn't set up with index.php? Yes that was one of them. 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.