Board index   FAQ   Search  
Register  Login
Board index PHP PHP Installation

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

Forum for you who has PHP installation issues

Moderators: macek, egami, gesf

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

Postby digitalgravy » 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
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

Postby Redcircle » 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
Redcircle
Moderator
Moderator
 
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Postby WiZARD » Thu May 22, 2003 3:55 am

Try or http://localhost/index.php
or do what say Redcircle
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Thanks!

Postby digitalgravy » Thu May 22, 2003 10:01 am

Adding index.php to the DirectoryIndex worked!

Thanks
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


Return to PHP Installation

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.