[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with php-cgi



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.

Pete
-- 
http://www.elbnet.com
ELB Internet Services, Inc.
Web Design, Computer Consulting, Internet Hosting



Reply to: