Re: Premature end of script headers -The answer!

From: Date: Tue, 13 Mar 2001 23:49:15 +0000
Subject: Re: Premature end of script headers -The answer!
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-2375@lists.php.net to get a copy of this message
on 3/13/01 2:00 PM, Celeste Suliin Burris at local120@local120.org wrote: > I have tried for quite a while to get php to run. It compiles fine, but > when I attempt to run it as an apache module, I get the same message in the > apache logs time after time. > > The apache error_log output is: > > [Mon Mar 12 18:12:04 2001] [notice] Apache/1.3.19 (Unix) PHP/4.0.4pl1 > mod_perl/1.25 configured -- resuming normal operations > [Mon Mar 12 18:12:04 2001] [notice] suEXEC mechanism enabled (wrapper: > /usr/local/apache/bin/suexec) > [Mon Mar 12 18:12:04 2001] [info] Server built: Mar 12 2001 18:00:15 > [Tue Mar 13 13:20:39 2001] [error] [client 131.191.215.240] Premature end of > script headers: /usr/local/apache/share/cgi-bin/test1.php FYI - I am a perl programmer, and I figured that like perl, php programs needed to be put in cgi-bin and made executable. Apparently, this is the kiss of death. I moved the scripts to htdocs and they are working fine!

« previous php.install (#2375) next »