Re: problem with php-cgi
Does your script put a blank line after the Content-type and so on,
Maybe you could post the first few lines of output to the list.
Sebastian Ezequiel Ovide wrote:
> yes it do.
> ./test.php.vgi make the same result that ./test.pl.cgi but test.pl.cgi
> work fine with apache but test.php.cgi don't want to work with apach !!!!
> Sebastián Ezequiel Ovide ICQ:113198452
> Universitá degli studi di Padova <http://www.unipd.it>
> Dipartimento di Elettronica e Informatica <http://www.dei.unipd.it>
> On Fri, 12 Oct 2001, Peter Billson wrote:
> |Sebastian Ezequiel Ovide wrote:
> |> Hi,
> |> just installed php4-cgi, fixed bad symlink in /usr/lib/cgi-bin
> |> The prob is,
> |> running as a standar cgi does not work ie
> |> #!/usr/bin/php
> |> apache complains
> |> [Thu Dec 21 20:18:36 2000] [error] [client 192.168.1.169] Premature end of
> |> script headers: /var/www/home/felipe/Proyectos/hola.php4.cgi
> |> running from the comand line works great and with
> |> AddHandler bla bla
> |> Action bla bla bla
> |> also works fine.
> |> Any clue
> |> I'm running potato
> |Your script is not send the magic Content-type: line before it's output.
> |ELB Internet Services, Inc.
> |Web Design, Computer Consulting, Internet Hosting
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com