Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30484 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 46512 invoked by uid 1010); 6 Jul 2007 07:38:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 46484 invoked from network); 6 Jul 2007 07:38:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jul 2007 07:38:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.6 Received: from [82.94.239.5] ([82.94.239.5:54311] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/10-45528-F41FD864 for ; Fri, 06 Jul 2007 03:37:57 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l667bhvO022608; Fri, 6 Jul 2007 09:37:43 +0200 Date: Fri, 6 Jul 2007 09:37:43 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: "William A. Rowe, Jr." cc: Stanislav Malyshev , Oliver Block , internals@lists.php.net In-Reply-To: <468D8D89.7090309@rowe-clan.net> Message-ID: References: <468D6C57.9030405@block-online.org> <468D7022.6010109@zend.com> <468D8D89.7090309@rowe-clan.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Subject: Re: [PHP-DEV] TSRMG From: derick@php.net (Derick Rethans) On Thu, 5 Jul 2007, William A. Rowe, Jr. wrote: > Stanislav Malyshev wrote: > >> something isn't clear to me: Is php as apache module supposed to work > >> without problems - if compiled as zts - only on apache worker or even > >> on apache prefork? > > > > I think if you manage to compile it that way it might work, but I don't > > really see why you would want to do it - TS build is slower. > > If you want a module loadable under either prefork, or worker, or even > perhaps the newer event mpm; you must build zts. Since many OS bundles > support multiple MPM's - they are going to build zts. > > And you are right - wins you nothing (loses you a bit in performance) to > run the prefork MPM with zts. It's not a bit, the performance increase is quite a bit. Seriously, if you distribution is silly enough to give you a TS PHP when you're running apache/prefork, please compile from source! It's likely they also messed up other things. Derick