php-install Digest 7 Oct 2001 17:49:23 -0000 Issue 494

Topics (messages 4536 through 4538):

PHP4/CGI installation trouble
        4536 by: Rink Springer
        4537 by: Rink Springer
        4538 by: Rink Springer

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
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


--- End Message ---
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--- End Message ---

Reply via email to