Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58264 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33733 invoked from network); 28 Feb 2012 19:01:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 19:01:21 -0000 Authentication-Results: pb1.pair.com smtp.mail=wrowe@rowe-clan.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=wrowe@rowe-clan.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain rowe-clan.net from 173.201.192.109 cause and error) X-PHP-List-Original-Sender: wrowe@rowe-clan.net X-Host-Fingerprint: 173.201.192.109 p3plsmtpa06-08.prod.phx3.secureserver.net Linux 2.6 Received: from [173.201.192.109] ([173.201.192.109:33662] helo=p3plsmtpa06-08.prod.phx3.secureserver.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 49/37-34356-0842D4F4 for ; Tue, 28 Feb 2012 14:01:21 -0500 Received: (qmail 18801 invoked from network); 28 Feb 2012 19:01:13 -0000 Received: from unknown (76.252.112.72) by p3plsmtpa06-08.prod.phx3.secureserver.net (173.201.192.109) with ESMTP; 28 Feb 2012 19:01:13 -0000 Message-ID: <4F4D244D.9030008@rowe-clan.net> Date: Tue, 28 Feb 2012 13:00:29 -0600 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Stas Malyshev CC: Christopher Jones , "internals@lists.php.net" References: <5a1d155ad465d1ec2e6461f5347d859f.squirrel@www.l-i-e.com> <4F4BF1C6.8010104@rowe-clan.net> <4F4C23CB.30402@oracle.com> <4F4D05FE.607@rowe-clan.net> <4F4D1C59.6030403@sugarcrm.com> In-Reply-To: <4F4D1C59.6030403@sugarcrm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] pecl, zts, non-zts, fastcgi and Apache From: wrowe@rowe-clan.net ("William A. Rowe Jr.") 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.