Jump to content

Apache ,index.php questions


Recommended Posts

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

 

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.