Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46377 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25415 invoked from network); 9 Dec 2009 19:52:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Dec 2009 19:52:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=jerome@loyet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jerome@loyet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain loyet.net from 209.85.223.195 cause and error) X-PHP-List-Original-Sender: jerome@loyet.net X-Host-Fingerprint: 209.85.223.195 mail-iw0-f195.google.com Received: from [209.85.223.195] ([209.85.223.195:50490] helo=mail-iw0-f195.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/00-25115-610002B4 for ; Wed, 09 Dec 2009 14:52:57 -0500 Received: by iwn33 with SMTP id 33so5054908iwn.29 for ; Wed, 09 Dec 2009 11:52:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.42.150 with SMTP id s22mr323309ibe.22.1260388372511; Wed, 09 Dec 2009 11:52:52 -0800 (PST) In-Reply-To: References: <3bea96c40912090655i263115bbid923deb2bdf296a6@mail.gmail.com> <4B1FBAF0.7020506@daylessday.org> <3bea96c40912090711o3927e257gab87783a6763f172@mail.gmail.com> <3bea96c40912090944r23831b52pc57dae2b7905c15@mail.gmail.com> <7.0.1.0.2.20091209200857.07a9da50@zend.com> <3bea96c40912091117g7281a0d1na83630aec93f90fc@mail.gmail.com> Date: Wed, 9 Dec 2009 20:52:52 +0100 Message-ID: <3bea96c40912091152l1be7115ft1c977f9f437ef0d9@mail.gmail.com> To: Michael Shadle Cc: Zeev Suraski , Pierre Joye , Antony Dovgal , php-dev Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PHP-FPM] syntax of configuration file From: jerome@loyet.net (=?ISO-8859-1?B?Suly9G1lIExveWV0?=) Le 9 d=E9cembre 2009 20:44, Michael Shadle a =E9crit : > I see it more like: > > fpm.global.daemonize =3D yes > fpm.global.error_log =3D /var/log/php-fpm.log > > or skip global: > > fpm.daemonize =3D yes > fpm.error_log =3D /var/log/php-fpm.log > > > for each worker pool: > > fpm.worker1.name =3D pool1 > fpm.worker1.address =3D 127.0.0.1:9000 ; or socket > fpm.worker1.uid =3D www-data > fpm.worker1.gid =3D www-data > > OR array style... > > fpm.worker('pool1').name =3D pool1 > fpm.worker('pool1').address =3D 127.0.0.1:9000 ; or socket > fpm.worker('pool1').uid =3D www-data > fpm.worker('pool1').gid =3D www-data > > for nested options can't it be > > fpm.worker1.foo.bar.baz =3D value > > (or the alternative array style for worker1) using array like described will made conf file unreadable and very hard to read and write (repeated words ...) > > These would all need to be PHP_INI_SYSTEM or the max level they can > be. I don't think it makes sense to be able to modify any of them. > do you mean that it would be included in the global php.ini file ? I never imagine that. For me it's an independant conf file (/etc/php-fpm.conf for example).