Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47985 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27994 invoked from network); 15 Apr 2010 16:27:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2010 16:27:28 -0000 Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: mike503@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-ww0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:44555] helo=mail-ww0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id ED/37-22079-F6E37CB4 for ; Thu, 15 Apr 2010 12:27:28 -0400 Received: by wwf26 with SMTP id 26so665387wwf.29 for ; Thu, 15 Apr 2010 09:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:references:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; bh=SmKGf9ngPjukiV11mhhkDT9rpK/sdkFDkIETju6fRx4=; b=M4562gv5hXGL9xbUscdj7iJVemo5cHSDKzzcsUnkSDtY3nNYF2y+W3wDZRTu5oggPu ShhsXSLFJW3Ze+ShQCGiMWqZKOXBAkvGf7Gi+4q4doPN8UddjqGdkYK2u6QO0RV9G+Jh w47GGrtrNaTGOvR9n31MSt4M+IyuTczmNViXY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:x-mailer:mime-version:subject:date:cc; b=B9KnSsSD0+dKvv1eVipPJU0aH7TN1qz4RLMWgbMwjvQkR2t2wUD6pglkMRI8oFsMNT Y6HD6OOfmcCxJgzwqY44MDR8kTvv+urExHYzhIDJ0nTuTeH/9fo+1+pgROvtJgjZ59SM wR93z6+7eXgoz3GJk0YwOq8VPBXPlfhmUKs80= Received: by 10.216.88.212 with SMTP id a62mr322322wef.72.1271348844695; Thu, 15 Apr 2010 09:27:24 -0700 (PDT) Received: from [192.168.1.24] (pool-98-108-131-200.ptldor.fios.verizon.net [98.108.131.200]) by mx.google.com with ESMTPS id x1sm12957853wbx.13.2010.04.15.09.27.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 15 Apr 2010 09:27:22 -0700 (PDT) References: <3bea96c41003301008va8ea1cbif8c16be11451eaf8@mail.gmail.com> <4BC4B553.3020807@oracle.com> <4BC4BBF9.4000903@oracle.com> <7.0.1.0.2.20100413215139.0dbcfdd8@zend.com> <7.0.1.0.2.20100415140350.0e2a5290@zend.com> <7.0.1.0.2.20100415141933.0e2a53d8@zend.com> <7.0.1.0.2.20100415143309.0e2a5a40@zend.com> <7.0.1.0.2.20100415145225.0e2a5cd0@zend.com> Message-ID: <3CA8F6A7-6454-4AEB-86EC-CA1D25F66C2E@gmail.com> To: Zeev Suraski In-Reply-To: <7.0.1.0.2.20100415145225.0e2a5cd0@zend.com> Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (7D11) Mime-Version: 1.0 (iPhone Mail 7D11) Date: Thu, 15 Apr 2010 09:27:14 -0700 Cc: =?utf-8?Q?J=C3=A9r=C3=B4me_Loyet?= , Ferenc Kovacs , "internals@lists.php.net" Subject: Re: [PHP-DEV] [RFC] FPM INI syntax From: mike503@gmail.com (Michael Shadle) On Apr 15, 2010, at 4:55 AM, Zeev Suraski wrote: > Agreed that it's a big change, but it's certainly possible. > Requires its own discussion... Fwiw +1 Mysql's ini file supports includes (!includedir and it supports wildcards), so people are used to the syntax and it can follow a pseudo-standard if you may. Ideally all ini parsing would support it. Kills multiple birds with one stone. I can see many applications for this. Might want to ensure parse_ini_file() has no security issues though by allowing it. If so a flag whether or not include syntax is supported should be put in and pass it as false for that "userland" function. Php aleady supports scanning a single directory for more config info but different distros use it differently and it can only be changed during configure time. This negates that need too. Slighty OT but also slightly relevant :)