Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45536 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47931 invoked from network); 9 Sep 2009 08:01:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2009 08:01:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@iki.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@iki.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain iki.fi from 204.13.248.71 cause and error) X-PHP-List-Original-Sender: jani.taskinen@iki.fi X-Host-Fingerprint: 204.13.248.71 mho-01-ewr.mailhop.org Received: from [204.13.248.71] ([204.13.248.71:64147] helo=mho-01-ewr.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/F4-26597-5D067AA4 for ; Wed, 09 Sep 2009 04:01:25 -0400 Received: from a88-112-30-186.elisa-laajakaista.fi ([88.112.30.186] helo=localhost.localdomain) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.68) (envelope-from ) id 1MlI7E-000ML9-GK; Wed, 09 Sep 2009 08:01:20 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 88.112.30.186 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+0dOvfOW2DdrGSChTFkGsb1B8QSFE3l1E= Message-ID: <4AA760CC.9060203@iki.fi> Date: Wed, 09 Sep 2009 11:01:16 +0300 Reply-To: jani.taskinen@iki.fi User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.1) Gecko/20090814 Fedora/3.0-2.6.b3.fc11 Thunderbird/3.0b3 MIME-Version: 1.0 To: Stanislav Malyshev CC: Rasmus Lerdorf , dreamcat four , internals@lists.php.net, jvlad , Dmitri Dmitrienko References: <99cf22520909081652v29a9ea56q33882849cce3081e@mail.gmail.com> <4AA6F06C.4020008@lerdorf.com> <4AA75C9F.3090605@iki.fi> <4AA75EFF.5040800@zend.com> In-Reply-To: <4AA75EFF.5040800@zend.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [sapi] PHP-FPM (FastCGI Process Manager), by Andrei Nigmatulin - upstream Y/n? From: jani.taskinen@iki.fi (Jani Taskinen) On 09/09/2009 10:53 AM, Stanislav Malyshev wrote: >> As separate SAPI, wouldn't it duplicate a LOT of code, basically for >> nothing? I'd rather see the good parts of this merged into the >> one-and-only sapi/cgi/ code instead of creating yet another SAPI >> nobody maintains for real. > > If the code will be really the same exactly, then maybe it can be just > reused (e.g. functions, etc.)? If not, then somewhat similar code I > don't think is a problem if it's maintained, and if it's not then better > have unmaintaned separate SAPI then unmaintained pieces of code inside > of one of most used SAPIs :) > In general, I'd consider changing sapi/cgi adding new potentially > unstable hode rather high-risk, unless it can be very well isolated. > sapi/cgi runs quite a lot of code... Very good point. And I did consider only merging the _good_ parts of this thing. I haven't had time to check the code yet at all (quite busy at work right now) but there are some stuff it does we haven't generally considered the "job of PHP" before. The list of them is here: http://php-fpm.org/What_is_PHP-FPM --Jani