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.