Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47977 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74018 invoked from network); 15 Apr 2010 11:48:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2010 11:48:49 -0000 Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.218.219 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.218.219 mail-bw0-f219.google.com Received: from [209.85.218.219] ([209.85.218.219:41999] helo=mail-bw0-f219.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CA/BF-20494-F1DF6CB4 for ; Thu, 15 Apr 2010 07:48:48 -0400 Received: by bwz19 with SMTP id 19so459bwz.1 for ; Thu, 15 Apr 2010 04:48:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.135.83 with HTTP; Thu, 15 Apr 2010 04:47:42 -0700 (PDT) In-Reply-To: <7.0.1.0.2.20100415143309.0e2a5a40@zend.com> 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> Date: Thu, 15 Apr 2010 13:47:42 +0200 Received: by 10.239.189.83 with SMTP id s19mr1515hbh.185.1271332062569; Thu, 15 Apr 2010 04:47:42 -0700 (PDT) Message-ID: To: Zeev Suraski Cc: Ferenc Kovacs , internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] FPM INI syntax From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) 2010/4/15 Zeev Suraski : > At 14:30 15/04/2010, Ferenc Kovacs wrote: >> >> Yep, this what I'm trying to say. I thought that the include parameter i= n >> the global.ini is just a normal config variabla, which isn't interpreted= by >> the php parse ini method, only just tells the fpm, to include that files >> manualy and merge the contents of that files into the original configura= tion >> parsed from the global.ini. >> But as far as I understand the patch and the discussion, it seems that >> Jerome proposed to change the internal working of the ini parsing, to ad= d >> general support for includes. Not especially. I always wanted to implement includes into FPM and not widely into zend_ini_parser. > > Actually as far as I understand what you wrote in the 1st paragraph is > exactly what was planned. =A0There weren't any plans to touch the .ini pa= rser > itself in any way. > What I said beforehand is that there are two ways to implement include: > 1. =A0In the .ini parser; =A0That means it'll work for anything that uses= the > .ini parser, including php.ini, fpm.ini, parse_ini_file(), etc. It's a huge change, it's has to be tested a lot ... too much complicated > 2. =A0In the FPM code that uses the .ini parser; =A0Much like it pays att= ention > to 'daemonize' and 'error_log', it can pay attention to 'include'. The easiest et most logical solution. FPM wants include in its ini configuration file and it's the only part of PHP which need that at the moment. Since FPM has been integrated info PHP, it never touched something but its own code ... try to stay that way !