Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56303 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94088 invoked from network); 12 Nov 2011 19:37:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2011 19:37:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.170 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.160.170 mail-gy0-f170.google.com Received: from [209.85.160.170] ([209.85.160.170:43456] helo=mail-gy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/C1-11501-21BCEBE4 for ; Sat, 12 Nov 2011 14:37:54 -0500 Received: by gyg13 with SMTP id 13so4416452gyg.29 for ; Sat, 12 Nov 2011 11:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8HcTwV/j173Xt7rVQbBNBLD1H2e1UkbA3/tRpPWJizc=; b=oZGQSsRWgvWbCXdz4TJJhNaTUTiqRg87TAnSBFcw18oZ3Q0XsjrWmZ2JrzgRjQ+yOF HOWM5KGRA3kPHy0uYy3HV96WG3L07j3fmgdPKLy6njAk2PdhEeHtNWN6syONC6OU0nnx lT7X+kN/ACkYi0uZLvvFlNGYeuYhNAyx3uVfE= MIME-Version: 1.0 Received: by 10.147.166.17 with SMTP id t17mr1009756yao.28.1321126671763; Sat, 12 Nov 2011 11:37:51 -0800 (PST) Received: by 10.146.168.7 with HTTP; Sat, 12 Nov 2011 11:37:51 -0800 (PST) In-Reply-To: <1321124020-sup-2369@ezyang> References: <1320740449-sup-5688@ezyang> <4EB8EAF1.3040104@lerdorf.com> <1320981061-sup-2803@ezyang> <4EBD79A5.2020604@lerdorf.com> <1321040435-sup-2225@ezyang> <4EBD8967.8040606@lerdorf.com> <1321047664-sup-8238@ezyang> <1321124020-sup-2369@ezyang> Date: Sat, 12 Nov 2011 20:37:51 +0100 Message-ID: To: "Edward Z. Yang" Cc: Hannes Magnusson , Rasmus Lerdorf , internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Load extensions for .user.ini files From: pierre.php@gmail.com (Pierre Joye) On Sat, Nov 12, 2011 at 7:54 PM, Edward Z. Yang wrote: > Excerpts from Hannes Magnusson's message of Fri Nov 11 18:54:27 -0500 2011: >> Hmh. >> Whats the difference between .user.ini and -dextension=? >> I hate it when bucketloads of .ini files are picked up when I run PHP via cli > > The idea would be to make it easy to simulate the same configuration as > when you run from the web as when you run from the command line, since > scripts might be sensitive to those parameters. I'm not sure it makes to have .user.ini support in CLI as you can simply do php -c .user.ini and that's it. I was more thinking of doing it in web servers related SAPIs only. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org