check your httpd.conf file to make sure it is enabling php.
here are some snips from mine:
Code:
LoadModule php4_module libexec/apache/libphp4.so
#########
AddModule mod_php4.c
############
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
</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>
#########################
# PHP
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
The AddType statements are usually the problem.
-r