Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47521 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61815 invoked from network); 23 Mar 2010 22:03:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2010 22:03:18 -0000 Authentication-Results: pb1.pair.com smtp.mail=mike503@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mike503@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.92.26 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.92.26 qw-out-2122.google.com Received: from [74.125.92.26] ([74.125.92.26:59014] helo=qw-out-2122.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/B1-51225-5AA39AB4 for ; Tue, 23 Mar 2010 17:03:17 -0500 Received: by qw-out-2122.google.com with SMTP id 8so1767495qwh.59 for ; Tue, 23 Mar 2010 15:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=OZxuZx3sitS9uiLELv/YSJp5+CprEpJCcxKsQixedWw=; b=t3Tva+dxg2uDWOBRmHj5/Q/S0f23Wh3F/jz7UAGyfUbswlX/21ZWmpyRXkzXxCa2ak 61N+eJ4OgWzcI051lhZWGzGz7MA7kEETPDd6UZt1rSdbR0xKMgEUBho9GHPsjnOizqIV eGWaAqD7DlgSM6Z+HYnSTW+3A7pG0UZReZ7sk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=B++tTG5DJYKZ6Y+XNmFeRRT0L5BRNuTpMrxc1jNvPYZ6FVAUTaWC2pYIJpAxK71bdU ix6f8SP2dyE387FTcNaGq3iwBQIHI3s9LYwzlIAaZfBsflmV12WuB0l9UFoINArhLzLp 4rh2bKDqtlsPG0Ue6TtItcL9aHDJHht05wSmg= MIME-Version: 1.0 Received: by 10.224.8.75 with SMTP id g11mr1922188qag.285.1269381794021; Tue, 23 Mar 2010 15:03:14 -0700 (PDT) In-Reply-To: <4BA93981.50908@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> Date: Tue, 23 Mar 2010 15:03:11 -0700 Message-ID: To: Antony Dovgal Cc: Zeev Suraski , internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] FPM RFC From: mike503@gmail.com (Michael Shadle) On Tue, Mar 23, 2010 at 2:58 PM, Antony Dovgal wrote: > Okay, here is XML based config quickly converted to php.ini-style syntax: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > [fpm.flobals] > pid_file =3D /usr/local/var/run/php-fpm.pid > error_log =3D /usr/local/var/log/php-fpm.log > log_level =3D notice > emergency_restart_threshold =3D 10 > emergency_restart_interval =3D 1m > process_control_timeout =3D 5s > daemonize =3D yes > > [fpm.workers] > =C2=A0 =C2=A0[default] > =C2=A0 =C2=A0 =C2=A0 =C2=A0listen_address =3D 127.0.0.1:9000 > =C2=A0 =C2=A0 =C2=A0 =C2=A0listen_options =3D > =C2=A0 =C2=A0 =C2=A0 =C2=A0backlog =3D -1 > =C2=A0 =C2=A0 =C2=A0 =C2=A0owner =3D nobody > =C2=A0 =C2=A0 =C2=A0 =C2=A0group =3D nobody > =C2=A0 =C2=A0 =C2=A0 =C2=A0mode =3D 0666 > =C2=A0 =C2=A0 =C2=A0 =C2=A0[php_defines] > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0sendmail_path =3D /usr/sbin/send= mail -t -i > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0display_errors =3D 0 > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0error_log =3D /var/log/php-error= .log > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0log_errors =3D true isn't this where the new array syntax could work? note: I think arrays in ini files are scary, but nonetheless they are there. fpm.worker('workername').listen_address =3D 127.0.0.1:9000 etc