Re: [PHP] cgi bug workaround

2001-10-05 Thread David Robley
On Fri, 5 Oct 2001 15:15, James Peter Gregory wrote: hi all, I've been asked to do some work on some servers where php can only run as cgi. Unfortunately it seems that php has a bug which means that #!/usr/local/bin/php gets printed out at the top of each page if I do this. Are there

Re: [PHP] cgi bug workaround

2001-10-05 Thread James Peter Gregory
On Fri, 5 Oct 2001, David Robley wrote: On Fri, 5 Oct 2001 15:15, James Peter Gregory wrote: hi all, I've been asked to do some work on some servers where php can only run as cgi. Unfortunately it seems that php has a bug which means that #!/usr/local/bin/php gets printed out

Re: [PHP] cgi bug workaround

2001-10-05 Thread Devon Weller
If you are getting #!/usr/local/bin/php output to the screen, then the cgi scripts do no need the line in them to execute properly. Do you have access to the scripts? Try removing this line altogether. What happens? - Devon In article [EMAIL PROTECTED], [EMAIL PROTECTED] (James Peter

[PHP] cgi bug workaround

2001-10-04 Thread James Peter Gregory
hi all, I've been asked to do some work on some servers where php can only run as cgi. Unfortunately it seems that php has a bug which means that #!/usr/local/bin/php gets printed out at the top of each page if I do this. Are there any workarounds for this? Is it fixed in the cvs versions?