Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46370 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87596 invoked from network); 9 Dec 2009 17:49:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2009 17:49:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.219 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.219.219 mail-ew0-f219.google.com Received: from [209.85.219.219] ([209.85.219.219:59081] helo=mail-ew0-f219.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 21/96-55877-543EF1B4 for ; Wed, 09 Dec 2009 12:49:59 -0500 Received: by ewy19 with SMTP id 19so2197669ewy.1 for ; Wed, 09 Dec 2009 09:49:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=Cwo/aqZGlhyjPV42wPNc3Y0ZmVg/V5VG1T8iqFFsSKw=; b=PaJy21Ytt+qMruiyEl4w75pwr4l9u3NZdbldCmFCsUKHc2+cSfXeTXwIg0okR+snpL 0qOpI/x2Qfxf6e9p/FNtGO9EKk4iU7fvQKtggT+YEnfJYb02YTjVscB3TBrr4qnhmGZW 2Vsxht9OvQPLkFgWbfa3tnAXLF/jATP8+dc4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=SYKAFdY0YiXBg6DTukAHToDRMp3aLQ0qQiTwDH0yfFsw/Q4fbKxZ13B02wuZo/zBwn IzeSPsNtkhDNdTCwzoGos4Y9EfFiFk1n8DRcRLM0/1c+qs3HeJYoiOEWPPkVk2vp0LjJ RTqBvN8tMfdJWJKv67L/DBfaELi6Pg21BUUko= Received: by 10.213.50.140 with SMTP id z12mr11125318ebf.9.1260380993752; Wed, 09 Dec 2009 09:49:53 -0800 (PST) Received: from ?192.168.1.15? ([93.185.190.227]) by mx.google.com with ESMTPS id 15sm38585ewy.8.2009.12.09.09.49.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Dec 2009 09:49:52 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=iso-8859-1 In-Reply-To: <3bea96c40912090944r23831b52pc57dae2b7905c15@mail.gmail.com> Date: Wed, 9 Dec 2009 20:49:50 +0300 Cc: Pierre Joye , Antony Dovgal , php-dev Content-Transfer-Encoding: quoted-printable Message-ID: References: <3bea96c40912090655i263115bbid923deb2bdf296a6@mail.gmail.com> <4B1FBAF0.7020506@daylessday.org> <3bea96c40912090711o3927e257gab87783a6763f172@mail.gmail.com> <3bea96c40912090944r23831b52pc57dae2b7905c15@mail.gmail.com> To: =?iso-8859-1?Q?J=E9r=F4me_Loyet?= X-Mailer: Apple Mail (2.1077) Subject: Re: [PHP-DEV] [PHP-FPM] syntax of configuration file From: indeyets@gmail.com (Alexey Zakhlestin) On 09.12.2009, at 20:44, J=E9r=F4me Loyet wrote: > Le 9 d=E9cembre 2009 17:16, Pierre Joye a =E9crit= : >> hi, >>=20 >> 2009/12/9 J=E9r=F4me Loyet : >>=20 >>>>> We already discussed pros/cons of the two solutions. But why don't = we >>>>> allow several syntaxes ? And let the end user to choose the better = one >>>>> for its need ? >>>>=20 >>>> No. Thank you. >>>> EOD >>>>=20 >>>=20 >>> and why of that ? Why is it already EOD wihtout arguing ? php-fpm = just >>> started in PHP core and there is willing from people to help and = make >>> php-fpm better, which I tought was the final goal. >>=20 >> It is, however I have to agree with Tony here, adding a fpm specific >> syntax makes little sense. Or do you have any killing arguments for >> this new syntax (like not possible to do it otherwise, stoping point >> etc.)? >>=20 >=20 > I don't have killing arguments I just came with a discussion which > seems fair here. Now it's xml and before it's been integrated there > were discutions about changing it to nginx. So I bring back the > discution here. >=20 > about multiple syntax it was a proposal which was about to make all > users happy but the complexity and the confusion is a good argument, I > heard it. >=20 > So let have the question another way: > Do we keep XML or do we switch to something else ? If so, which format = ? >=20 > I and some others think xml is not appropriate here because of the > complexity. So I do think there is a need to change. >=20 > INI or other ? > INI is used widely in PHP and users know it. But it's not well adapted > for the actual php-fpm configuration organisation. (properties in > sections or subsections). If choosed how will it be organized ? >=20 > If we want something else than XML and INI, we can use ngxin like or > yaml configuration file, or other ... as much as I like yaml, it's not a good choice here (because it would = add extra dependency) what about json? php has nice json encoder and decoder still, if ini can be adapted without much struggle we should use it.