Memory Limit when running PHP as a CGI under IIS

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Yes, another memory limit question.

Our PHP application is running with PHP 4.3.9 running in CGI mode under
Windows IIS 5.

When a user tries to download a file that is 'too large', the following
error message (or one similar) is displayed.

CGI Error
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:

FATAL:  erealloc():  Unable to allocate 81387415 bytes

It would seem that IIS is limiting the amount of memory available to
the PHP CGI process.  There is no --enable-memory-limit option, so
phpinfo() doesn't return any value for memory_limit

The question, is it possible to increase this limit?  100 MB would do
it for us.

Site Timeline