The relevant section of httpd.conf:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.html index.php3 index.php
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html
</IfModule>
</IfModule>
</IfModule>
This is from a server that uses mod_php4.
Note the first directory entry...this determines the order in
which Apache will look for an index page with the calling URI
is "/"....
You also would want this somewhere in httpd.conf:
AddType application/x-httpd-php .php .html
...with this setting, both files ending in
.php and .html will be parsed by the PHP parser.
There is a performance impact --- if the site is
high traffic you may wish to only parse .php files
and have high-volume pages that don't need dynamic
content in some locations...