[FGS] Re: FGS] Re: tclhttpd

Frank Warmerdam warmerdam at pobox.com
Thu Jul 29 15:39:21 EDT 2004


Guillaume Dallaire wrote:
> Hi,
> 
> thttpd is not well suited for PHP as CGI :
> 
> : Current versions of thttpd can use PHP as CGI, however thttpd is not
> : well suited to serving high volume dynamic content with PHP. Web sites
> : wishing to take advantage of thttpd's strengths should consider using
> : another web server, such as Apache, to serve PHP content while serving
> : static content with thttpd.
> 
> And with PHP as module, all HTTP requests are serialized. That means,
> one long running script (like php_mapscript) will block all other
> requests. 
> 
> (source: http://halplant.com:88/server/thttpd_FAQ.html#PHP)
> 
> In fact, more work is carried out in a commercial version of thttpd:
> 
> http://www.schumann.cx/premium-thttpd/


Guillaume,

But mapscript doesn't work as a loadable module anyways does it?  Don't we
just want it to be run in cgi mode?

> ----------
> 
> I compiled Apache v1.3.31 and discovered that its size is smaller than
> tclhttpd : The binary file 'httpd' is 384KB. The complete package would
> be 1.1MB  (291KB in gz format).
> 
> $ ldd httpd
> 
>    libm.so.6 => /lib/tls/libm.so.6 (0x4002b000)
>    libcrypt.so.1 => /lib/libcrypt.so.1 (0x4004e000)
>    libexpat.so.0 => /usr/lib/libexpat.so.0 (0x4007b000)
>    libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>    /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Well, perhaps we should just ship a preconfigure apache after all without
too many bells and whistles.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the Foss-gis-suite mailing list