Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47530 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79821 invoked from network); 23 Mar 2010 22:41:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2010 22:41:04 -0000 Authentication-Results: pb1.pair.com header.from=zeev@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=zeev@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.185 as permitted sender) X-PHP-List-Original-Sender: zeev@zend.com X-Host-Fingerprint: 212.25.124.185 il-mr1.zend.com Received: from [212.25.124.185] ([212.25.124.185:33868] helo=il-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2B/40-12746-E7349AB4 for ; Tue, 23 Mar 2010 17:41:04 -0500 Received: from il-gw1.zend.com (unknown [10.1.1.21]) by il-mr1.zend.com (Postfix) with ESMTP id E24A950466; Wed, 24 Mar 2010 00:15:53 +0200 (IST) Received: from LAP-ZEEV.zend.com ([10.1.20.44]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 24 Mar 2010 00:35:32 +0200 Message-ID: <7.0.1.0.2.20100324002752.13ff31c8@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Wed, 24 Mar 2010 00:35:30 +0200 To: "Antony Dovgal" Cc: In-Reply-To: <4BA93FDA.7070807@daylessday.org> References: <4BA8EF6F.8010503@daylessday.org> <4BA8F72E.5090701@sci.fi> <4BA8F985.1090109@daylessday.org> <4BA919D2.3060605@daylessday.org> <7.0.1.0.2.20100323222839.12d7b088@zend.com> <4BA92AD2.8010709@daylessday.org> <7.0.1.0.2.20100323230221.12e71af0@zend.com> <4BA93981.50908@daylessday.org> <7.0.1.0.2.20100324000052.13ffc888@zend.com> <4BA93FDA.7070807@daylessday.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-OriginalArrivalTime: 23 Mar 2010 22:35:32.0643 (UTC) FILETIME=[25EC2F30:01CACAD9] Subject: Re: [PHP-DEV] FPM RFC From: zeev@zend.com (Zeev Suraski) At 00:25 24/03/2010, Antony Dovgal wrote: >On 24.03.2010 01:08, Zeev Suraski wrote: > > At 23:58 23/03/2010, Antony Dovgal wrote: > >>Okay, here is XML based config quickly converted to php.ini-style syntax: > > > > Here's mine - a bit more representative of how .ini files look > > instead of trying to convert a nested XML file: > >I'm sure you understand that nesting makes things much more easier to read. Only if it's really necessary, which doesn't appear to be the case here. >fpm.workers.spaces>.pm.dynamic.start_servers is not my preferred syntax. I find the .ini version (the one I submitted) way, way easier to read - it's designed for humans and requires no parsing. I don't see why we need to add fpm.workers.poolname.pm.dynamic, where fpm.workers is obvious, and poolname is in the section name. You're left with pm.dynamic - which is fine. >And yes, this is how it should look like since you're implying that FPM config >should be a part of php.ini (otherwise I don't see how these two >different files are related at all). I'm not implying it, in fact I'm downright saying *the opposite*. It should be in its own fpm.ini file, using .ini syntax. It shouldn't use PHP's INI subsystem since it's irrelevant to it, and we may want to implement special handling for certain directive names (e.g. includes, should we decide to implement them). All along I was talking about the syntax, not php.ini itself. Zeev