Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70379 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39619 invoked from network); 25 Nov 2013 15:55:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2013 15:55:44 -0000 Authentication-Results: pb1.pair.com header.from=remi@fedoraproject.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=remi@fedoraproject.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fedoraproject.org from 212.27.42.2 cause and error) X-PHP-List-Original-Sender: remi@fedoraproject.org X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Linux 2.6 Received: from [212.27.42.2] ([212.27.42.2:50683] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A9/66-34377-CF273925 for ; Mon, 25 Nov 2013 10:55:42 -0500 Received: from schrodingerscat.famillecollet.com (unknown [82.241.130.121]) by smtp2-g21.free.fr (Postfix) with ESMTP id 8EB8E4B0168 for ; Mon, 25 Nov 2013 16:55:33 +0100 (CET) Message-ID: <529372F3.2010102@fedoraproject.org> Date: Mon, 25 Nov 2013 16:55:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: PHP Internals References: In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] Allowing [SAPI=] entries in ini files. From: remi@fedoraproject.org (Remi Collet) Le 16/11/2013 12:54, Richard Quadling a écrit : > Hi. > > I created a patch https://github.com/php/php-src/pull/466 to allow ini > files to have a SAPI section, just like they can have a HOST and PATH > section. Seems usefull. > My use case is that the provider we are currently using does not allow us > to have our own INI file, just the additional directory, and there is no > way to differentiate between a CLI and a FAST-CGI setup in the additional > directory. Another usecase, looking at pecl/sdl extension, it seems clear it should be "cli" only (same case as RIP gtk2). So, I'm +1 for this feature. Remi. > > The patch allows [SAPI=xxx] sections and they operate in a very similar way > to the [HOST] and [PATH] sections. > > Please can this be considered for inclusion into PHP at some stage. > > Regards, > > Richard Quadling. >