[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]


I'm trying to get php4-cgi to run (mod_php is not an option as I need the suexec wrapper to do its thing). I created a scriptaliased directory and copied php4 into it. I changed the owner to the User/Group supplied in my VirtualHost conf (suexec.log shows no problem).
I added the following to my VirtualHost:
AddType application/x-httpd-php-cgi .phpc
Action application/x-httpd-php-cgi /cgi-bin/php4
everything looks good, but as soon as I try to execute a simple php-script (just a phpinfo) I get:

*Parse error*: parse error in */home/test/cgi-bin/php4* on line *2212

It looks like php is executing its interpreter as a phpscript.
I'm desperate, does anybody here have an idea what's going on?????


Reply to: