on 3/13/01 2:00 PM, Celeste Suliin Burris at [EMAIL PROTECTED] 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!


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to