Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199807

Re: [PHP3] PHP with Zeus? From: Alex Belits (abelits <email protected>)
Date: 07/21/98

On Tue, 21 Jul 1998, Mark Henderson wrote:

> Zeus is multi-threaded,

  At least on Linux it uses userspace threads, so I assume it's pthreads.
php3 probably will become mt-safe, but not being involved with that
development I have no idea, when.

> and supports CGI, Fast-CGI and ISAPI (it may even
> have its own interface as well?). PHP2 has a Fast-CGI interface, but I
> don't think PHP3 has Fast-CGI support yet.
>
> There is ISAPI support being worked on for version 3.1 of PHP, but I think
> this is for Windows only at this stage, and PHP 3.1 will not be thread
> safe under UNIX until such stage as Apache moves to a mulithreaded
> architecture (version 2?).
>
> Your best bet for now is using PHP3 as a CGI, then moving to Fast-CGI down
> the road. A PHP ISAPI interface under UNIX would only happen after Apache
> becomes multi-threaded (if/when?), and even then, there would need to be a
> demand for it, and possibly some support from Zeus (who use PHP2 on their
> site).

  No one knows when Apache will become multithreaded on Unix (their
multithreaded code is currently Windows-specific), and only Dean knows
why and how -- for example, I have no idea how they will deal with
existing non-mt-safe modules. Most likely NSAPI support will be the reason
for multithreading.

--
Alex

P.S.: fhttpd can use existing non-multithreaded php3, is faster than fastcgi, has no process-bloat and every-process-connects-to-sql problems of apache modules, and if php3 will become mt-safe I can attach it to fhttpd, too.

-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3