Hi everyone.

I'm trying to install PHP4/CGI on a web server (it must be CGI because I
intend to use SuEXEC behaviour later on, tho it is currently disabled).

Anyway, whenever I fire up a PHP script, I get this error:

--snipsnipsnip--
Parse error: parse error in /usr/local/apache/cgi-bin/php on line 3054
--snipsnipsnip--

It think it invokes the PHP binary, which in turn tries to parse the binary
itself as a PHP script. I have no idea why this is... my httpd.conf file has
these lines

--snipsnipsnip--
AddHandler php-script .php
Action php-script /cgi-bin/php
--snipsnipsnip--

I run Apache 1.3.20 on a FreeBSD 4.4-RELEASE box, along with PHP 4.0.6.

Any support would be greatly appreciated!

Thanks,
--Rink



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to