Re: fhttpd and php4

From: Date: Mon, 11 Oct 1999 21:24:04 +0000
Subject: Re: fhttpd and php4
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-11691@lists.php.net to get a copy of this message
On Mon, 11 Oct 1999, Andi Gutmans wrote: > Great! By the way, is fhttpd still not a threaded server? fhttpd in its main "engine" uses a model that all "userspace" threads packages use indirectly anyway -- it has a loop with nonblocking operations that process everything as it arrives, switching between multiple buffers that correspond to sockets. Modules run as separate processes, and php runs as a pool of "single-purpose" processes (or multiple pools for different userids, possibly separate pools for database connections, etc.) not unlike one large pool of "all-purpose" processes used by Apache except that in fhttpd main "engine" feeds those processes already received and preparsed requests. Since php processes in that pool are independent, multithreading isn't used there. > Does it work in > Windows? No, it works on all Unices that I have around, however it heavily relies on some mechanisms how they are implemented in Unix. In theory it's possible to port it, however IMHO the result won't justify time and effort spent, and I have more important things to add there (clustering, monitoring and remote management modules). -- Alex ---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward

« previous php.dev (#11691) next »