Re: Load extensions for .user.ini files
| From: | Pierre Joye | Date: | Sat, 12 Nov 2011 19:37:51 +0000 |
| Subject: | Re: Load extensions for .user.ini files | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56303@lists.php.net to get a copy of this message | ||
On Sat, Nov 12, 2011 at 7:54 PM, Edward Z. Yang <ezyang@mit.edu> 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