Re: Returning image/gif Content-type

Ron Klatchko (
Thu, 06 Feb 1997 09:29:13 -0800

Message-Id: <>
Date: Thu, 06 Feb 1997 09:29:13 -0800
From: Ron Klatchko <>
To: Nigel Metheringham <>
Subject: Re: Returning image/gif Content-type

Nigel Metheringham wrote:
> Oops... what I said is a bit wrong, but the thrust was right...
> I was specifically thinking of my use with it within the PHP apache
> module, where you don't have stdin/stdout etc - you have apache buffers to
> work with.

You are right in regards to Apache modules, but since we're discussing
FastCGI here, that's hardly a relevant issue.

> I guess that a similar problem may occur with FCGI, especially if the
> libraries you are linking with don't respect your overriding of the normal
> stdio stuff to give the tokenised stream used by fastcgi.

GD makes use of stdio.  Make sure to recompile it with the fastcgi stdio