Re: pecl, zts, non-zts, fastcgi and Apache

From: Date: Tue, 28 Feb 2012 19:00:29 +0000
Subject: Re: pecl, zts, non-zts, fastcgi and Apache
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-58264@lists.php.net to get a copy of this message
On 2/28/2012 12:26 PM, Stas Malyshev wrote: > >> so prefork hasn't been the default in some 7 years. The only sensible build >> for mod_php is ZTS, which will load and operate whichever mpm is loaded by >> the user. The only sensible single thread environment is cgi (enhanced, >> of course, with fastcgi!) > > Please note that TS build is slower and has higher memory requirements (due to TS locks > and TS data structures) so having it as only build may not be optimal. Of course, which is why a cgi build is /also/ useful. But I just don't see performance complaints, they are almost always reliability or configuration issues. If you are running that close to the edge that the 15% performance penalty kills your box, you were well past time to scale to more boxes or to review the PHP code itself for performance issues.

« previous php.internals (#58264) next »