RE: [PHP-INST] Problem with CGI scripts apparently caused by mod_php4
| From: | James Mackie | Date: | Sun, 06 Oct 2002 19:38:27 +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-8696@lists.php.net to get a copy of this message | ||
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..
James
-----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.
--
Stuart
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php