RE: [PHP-INST] Problem with CGI scripts apparently caused by mod_php4
| From: | James Mackie | Date: | Mon, 07 Oct 2002 20:14:38 +0000 |
| Subject: | RE: [PHP-INST] Problem with CGI scripts apparently caused by mod_php4 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8708@lists.php.net to get a copy of this message | ||
Uh huh.. I realize that not everyone has that luxury.. But I figured it
would be nice to let you know that you are not the only one who has seen
this problem.. :) And should someone out there find a solution I would
be very happy to hear about it as well..
James
-----Original Message-----
From: Stuart Dallas [mailto:lists@sharedserver.net]
Sent: Sunday, October 06, 2002 3:37 PM
To: php-install@lists.php.net
Subject: Re: [PHP-INST] Problem with CGI scripts apparently caused by
mod_php4
James Mackie wrote:
> Yesh.. Apache 1.3.26 and PHP 4.2.2..
>
> I had a bunch of scripts that I ahd written running fine on thhe
server
> until I installed PHP.. As soon as I installed PHP they stopped
> working.. Same error.. I rewrote them all in PHP since they were
pretty
> critical and I didn't have time to figure out why this was happening..
Unfortunately I don't have the luxury of the option of rewriting the
scripts. I really need to get this problem solved so I would really
appreciate any insight anyone can offer.
Thanks.
--
Stuart
> -----Original Message-----
> From: Stuart Dallas [mailto:lists@sharedserver.net]
> Sent: Sunday, October 06, 2002 12:25 PM
> To: php-install@lists.php.net
> Subject: [PHP-INST] Problem with CGI scripts apparently caused by
> mod_php4
>
>
> Hi,
>
> I have Apache 1.3.27 and mod_php4 4.2.3 installed on a FreeBSD 4.6.2
> machine. PHP works fine. However, I also need to be able to execute
CGI
> scripts. When I try to use printenv (simple shell script that outputs
> the environment variables) it returns a "500 Internal Server Error"
and
> the Apache error log gives the error of "Premature end of headers".
>
> If I comment out the LoadModule and AddModule lines in httpd.conf for
> PHP, it works. Has anyone seen this before?
>
> Thanks.
>
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php