Sounds like you may not have included one or two things in your
httpd.conf; in a text editor, look for
php. You should find something that looks like this
Code:
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
If the
index.php is not there, you want to add it (there needs to be one of those somewhere, it may be added someplace else so look first).
Next, look for
Code:
# Uncomment the following line to enable PHP:
#
Include /etc/httpd/mod_php.conf
Your distribution may have
mod_php.conf located somewhere other than in
/etc/httpd, you may have to look for it.
If you have changed either of those, be sure to restart
httpd.
Hope this helps some.