Re: [PHP-DEV] fhttpd and php4 From: Alex Belits (abelits <email protected>)
Date: 10/11/99

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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>