New install help configure.....index.php

Forum for you who has PHP installation issues

Moderators: egami, macek, gesf

Post Reply
User avatar
digitalgravy
New php-forum User
New php-forum User
Posts: 32
Joined: Sat Feb 15, 2003 10:00 pm
Location: Los Angeles, CA
Contact:

Wed May 21, 2003 1:48 pm

I just installed Apache 2.0.45 and php 4.3.1 on windows 2000 5.00.2195

I got php to work, I tested it with phpinfo(); but when I create my document "index.php" in the htdocs directory, I cant get it to load as the index page. when i go to http://localhost I see a directory listing with my index.php.

What am I missing, what do I need to do?

Please help.

Thanks
-DigitalGravy
 got gravy?
 http://www.digitalgravy.net

User avatar
Redcircle
Moderator
Moderator
Posts: 826
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA
Contact:

Wed May 21, 2003 11:40 pm

in your httpd.conf file for apache you need to add index.php to your DirectoryIndex

Right now it is probably just index.html

User avatar
WiZARD
Moderator
Moderator
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol
Contact:

Thu May 22, 2003 3:55 am

Try or http://localhost/index.php
or do what say Redcircle
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";
Image

User avatar
digitalgravy
New php-forum User
New php-forum User
Posts: 32
Joined: Sat Feb 15, 2003 10:00 pm
Location: Los Angeles, CA
Contact:

Thu May 22, 2003 10:01 am

Adding index.php to the DirectoryIndex worked!

Thanks
-DigitalGravy
 got gravy?
 http://www.digitalgravy.net

Post Reply