Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58244 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95863 invoked from network); 28 Feb 2012 15:41:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 15:41:50 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.170 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 209.85.215.170 mail-ey0-f170.google.com Received: from [209.85.215.170] ([209.85.215.170:37030] helo=mail-ey0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/92-17048-CB5FC4F4 for ; Tue, 28 Feb 2012 10:41:49 -0500 Received: by eaal11 with SMTP id l11so2359753eaa.29 for ; Tue, 28 Feb 2012 07:41:45 -0800 (PST) Received-SPF: pass (google.com: domain of julienpauli@gmail.com designates 10.14.45.75 as permitted sender) client-ip=10.14.45.75; Authentication-Results: mr.google.com; spf=pass (google.com: domain of julienpauli@gmail.com designates 10.14.45.75 as permitted sender) smtp.mail=julienpauli@gmail.com; dkim=pass header.i=julienpauli@gmail.com Received: from mr.google.com ([10.14.45.75]) by 10.14.45.75 with SMTP id o51mr11577836eeb.20.1330443705449 (num_hops = 1); Tue, 28 Feb 2012 07:41:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=721nvFC/pg36QgILQuHEbuGIZDY/VH/nxIh/btW/jdM=; b=cXpYuSjkZpPle6ay+/P+OPiOLPwuuZDj1Rjf4ncYYucehydiizqAcupZMXL0+rtSuj 9xTEr4qwLSyrJBbxRAcIxvpk2rD//YJ0uxiJUqogbm0NaG2uVVBa4472A8Wo2VdPsq1A D1PhUt5oZWC7LpnIMvVr+u4xt3sh2RkRnoq/o= Received: by 10.14.45.75 with SMTP id o51mr8678128eeb.20.1330443705271; Tue, 28 Feb 2012 07:41:45 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.213.29.2 with HTTP; Tue, 28 Feb 2012 07:41:05 -0800 (PST) In-Reply-To: References: <5a1d155ad465d1ec2e6461f5347d859f.squirrel@www.l-i-e.com> <4F4BF1C6.8010104@rowe-clan.net> Date: Tue, 28 Feb 2012 16:41:05 +0100 X-Google-Sender-Auth: YMDHYFxL-X25zjM52GmRLZMdmww Message-ID: To: Tom Boutell Cc: PHP Internals Content-Type: multipart/alternative; boundary=90e6ba5bb8897244a804ba08103e Subject: Re: [PHP-DEV] pecl, zts, non-zts, fastcgi and Apache From: jpauli@php.net (jpauli) --90e6ba5bb8897244a804ba08103e Content-Type: text/plain; charset=ISO-8859-1 On Tue, Feb 28, 2012 at 3:37 PM, Tom Boutell wrote: > On Mon, Feb 27, 2012 at 4:12 PM, William A. Rowe Jr. > wrote: > > > > No, 2.2 and 2.4 don't default to prefork, it's suboptimal, most linux > > distros have moved away from it... > > Ubuntu starts out with the worker threaded MPM. However when you > install the standard PHP package it switches Apache to the prefork > MPM. > > Actually, the true story for performance is to kill Apache and let Lighttpd or NginX do the job, with a pool of fcgi/fpm PHP processes About having a ZTS mod_php inside a Worker-based Apache : I know Brian Moon having tried that on a production host some time ago. He shares experiences here : http://doughboy.wordpress.com/2008/02/13/apache-worker-and-php/ Hope this helps, even if it is not a recommended architecture ;) Julien.P > -- > Tom Boutell > P'unk Avenue > 215 755 1330 > punkave.com > window.punkave.com > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --90e6ba5bb8897244a804ba08103e--