PHP TroubleShooting
Check the AddType and Action directives in your .htaccess file. See CGI Support for more information.
This appears to be a bug. The work around is to use a perl script in place of the php binary, and fix some values prior to calling php. Don't forget to modify it for your site. Your php.ini file will be in your home directory.
===> cgi-bin/php4 <=== #!/usr/bin/perl $ENV{'SCRIPT_FILENAME'}=$ENV{'PATH_TRANSLATED'}; system('/usr/lib/cgi-bin/php4 -c ~/ 2>&1');