Adam Voigt wrote:

>>Doubtful the PHP engine is getting hit at all, usually you would
>>get some pretty nasty errors or crashes if the PHP engine dies, but
>>if it's just sending raw code back, it's most likely a misconfiguration
>>of Apache. What configure line did you use on Apache?
>>
>  
>
I agree that it's got to be a config issue.  Here are the salient lines 
from my httpd.conf.  Any thoughts?  Thanks!

...
AddModule mod_php4.c
...
AddModule mod_perl.c
...
<IfModule mod_php4.c>
    AddType application/x-httpd-php .php4 .phtml .php .inc
    AddType application/x-httpd-php-source .phps
    php_admin_flag engine on
    php_admin_flag safe_mode off
</IfModule>
<IfModule mod_php3.c>
    AddType application/x-httpd-php3 .php3 .php .inc
    AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
    AddType application/x-httpd-php .phtml
</IfModule>
...
    Alias /store/ "/usr/local/apache/htdocs/store/"
    <Directory "/usr/local/apache/htdocs/store">
        Options Indexes FollowSymlinks MultiViews
        AllowOverride All
        SetHandler default-handler
        <Files ~ "\.inc$">
            Order allow,deny
            Deny from all
            Satisfy All
        </Files>
    </Directory>
...
<Location />
  ...
  SetHandler perl-script
  ...
</Location>
<Location /store>
    Options Indexes FollowSymlinks MultiViews
    AllowOverride Options All
    SetHandler default-handler
</Location>




-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to