Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58249 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3201 invoked from network); 28 Feb 2012 16:04:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 16:04:46 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:1409] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8F/A0-34356-D1BFC4F4 for ; Tue, 28 Feb 2012 11:04:45 -0500 Received: (qmail 35191 invoked by uid 98); 28 Feb 2012 16:04:44 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 ( Clear:RC:1(127.0.0.1):. Processed in 0.04148 secs); 28 Feb 2012 16:04:44 -0000 Received: from localhost (HELO www.l-i-e.com) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 16:04:43 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Tue, 28 Feb 2012 10:04:44 -0600 Message-ID: <2be222c0f5bdf6d2fcca179c708f8873.squirrel@www.l-i-e.com> In-Reply-To: <4F4C23CB.30402@oracle.com> References: <5a1d155ad465d1ec2e6461f5347d859f.squirrel@www.l-i-e.com> <4F4BF1C6.8010104@rowe-clan.net> <4F4C23CB.30402@oracle.com> Date: Tue, 28 Feb 2012 10:04:44 -0600 To: "PHP internals list" User-Agent: SquirrelMail/1.4.21 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] pecl, zts, non-zts, fastcgi and Apache From: ceo@l-i-e.com ("Richard Lynch") On Mon, February 27, 2012 6:46 pm, Christopher Jones wrote: > > > On 02/27/2012 01:12 PM, William A. Rowe Jr. wrote: >> On 2/27/2012 6:58 AM, jpauli wrote: > >>> Recently we had a bug with the new Apache 2.4 API where apxs >>> doesn't answer >>> about the MPM configuration anymore, leading to a ZTS build by >>> default. >>> This bug has now been fixed, was >>> https://bugs.php.net/bug.php?id=61172. >> >> Wrong fix. Out of the box you don't know which mpm may be loaded, >> because >> the mpm is now loadable (although a full daemon stop/start is >> necessary). > > Can you expand & explain this, with an eye to resolving 61172? > Are you saying Apache 2.4 'httpd -M' might not return the mpm? If I'm reading this correctly: apxs runs at PHP compile time and "reads" mpm from httpd.conf Apache is started, probably with that mpm, and then a different mpm is loaded and apache is re-started, maybe even with graceful, for real fun. mod_php has no knowledge of the "new" mpm, because the mpm choice was compiled in at apxs time. -- brain cancer update: http://richardlynch.blogspot.com/search/label/brain%20tumor Donate: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=FS9NLTNEEKWBE