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:[EMAIL PROTECTED]] 
Sent: Sunday, October 06, 2002 12:25 PM
To: [EMAIL PROTECTED]
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





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to