wheelock Posted June 22, 2008 Share Posted June 22, 2008 Hi All! I am a complete ans utter noob when it comes to this stuff but here goes. Basically I wanted to set up the Apache/PHP/MySQL combination on my PC [Win XP pro] to allow me to learn/play with shopping cart stuff. I used the tutorial here: http://www.techmalaya.com/2007/09/10/beginners-guide-install-php-5-mysql-5-on-apache-22-on-windows-with-screenshots/ to help me get up and running. Got the Apache going OK. Loaded php and followed the instructions. All went as described apart form one thing. If I am understanding correctly, adding the index.php to the httpd.conf file should make an index.php file come up as 'home page'?? When I do this and punch in my address into the browser I get the index for page showing the files and folders rather than the re labeled php info page. I can hit the index.php shown in the list and it opens OK but I thought this would come up first just like the html index page? Any input would be most appreciated, as i said i know virtually nothing about all this at the moment,so your patience would also be much apraciated too! Mark Quote Link to comment Share on other sites More sharing options...
trq Posted June 22, 2008 Share Posted June 22, 2008 If I am understanding correctly, adding the index.php to the httpd.conf file should make an index.php file come up as 'home page'?? Can we see how and where you added the index.php as an index? Quote Link to comment Share on other sites More sharing options...
wheelock Posted June 22, 2008 Author Share Posted June 22, 2008 Thanks for your reply, here is where it is added: <IfModule dir_module> DirectoryIndex index.php index.html </IfModule> Mark Quote Link to comment Share on other sites More sharing options...
trq Posted June 22, 2008 Share Posted June 22, 2008 Have you restarted the server after making said changes? Quote Link to comment Share on other sites More sharing options...
wheelock Posted June 22, 2008 Author Share Posted June 22, 2008 yep.. Quote Link to comment Share on other sites More sharing options...
wheelock Posted June 22, 2008 Author Share Posted June 22, 2008 Just come across a site 'apache freinds' who do a combined package called Xampp. would this be an easier route for a novice? Though I guess I would run into issues with this too. M Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 23, 2008 Share Posted June 23, 2008 Does the index.php file load if you go to http://localhost/index.php if it does try clearing your browsers cache and then try going to http://localhost/ Also make sure you have renamed index.html to to index1.html before testing. For now I say stick with what you have got. It is far more intuitive to learn how AMP is set up. Quote Link to comment Share on other sites More sharing options...
wheelock Posted June 23, 2008 Author Share Posted June 23, 2008 Well I uninstalled the lot and shoved in Xampp. Not had time to play too much yet, but it all seems OK. Index.php is seen as expected etc. Obviously it is best to understand and learn things from a more base level, but I really don't have a great deal of time at the moment. No doubt I will have plenty more hurdles to cross with all this as I progress! [and come back wailing with tail between my legs..hehe] Mark 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.