View Single Post
Old 08-25-2004, 04:44 AM   #8 (permalink)
idx
Senior Grasshopper
 
idx's Avatar
 
Join Date: Jun 2003
Location: FL
Posts: 317
idx is on a distinguished road
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
idx is offline   Reply With Quote