> -----Original Message----- > From: Bas van Beek [mailto:b...@tobin.nl] > Sent: Wednesday, January 30, 2013 2:29 PM > To: Zeev Suraski > Cc: Pierre Joye; Stas Malyshev; PHP internals > Subject: Re: [PHP-DEV] ZTS - why are you using it? > > Hi Guys, > > As a heavy user of ZTS in multi threaded C/C++ applications, here are my $0.02. > > Removing ZTS would be a bad idea for all those custom multi-threaded > applications out there that allow some form of internal/embedded PHP > scripting. These applications are not web-servers but do make use of threads for > reasons of their own. Building a FastCGI set-up would be out of the question if > these apps are deployed customer / client side and need concurrent PHP script > runs. > > > Based on the feedback on this thread, I think we should instruct users > > that using thread-safe versions of PHP is slower, and that actually > > putting thread-safe PHP inside a multithreaded server is not a very > > reliable solution. We should recommend FastCGI/fpm instead. We > > should do that tomorrow morning (figuratively speaking).
In case I wasn't sufficiently clear, I'm talking about putting PHP inside a *multithreaded web server*, not being a good idea. The use case you specify is exactly the use case for keeping ZTS support in the code... Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php