Re: Load extensions for .user.ini files
| From: | Hannes Magnusson | Date: | Fri, 11 Nov 2011 23:54:27 +0000 |
| Subject: | Re: Load extensions for .user.ini files | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56294@lists.php.net to get a copy of this message | ||
On Fri, Nov 11, 2011 at 22:43, Edward Z. Yang <ezyang@mit.edu> wrote:
> Excerpts from Rasmus Lerdorf's message of Fri Nov 11 15:45:27 -0500 2011:
>> Well, it is simple enough that we don't really need a patch. However,
>> generally if you want to submit a patch it needs to be against a current
>> svn branch and not an old release. You want to minimize the work people
>> will need to do to look at your suggested change.
>
> Gotcha.
>
>> The other issue with your patch is that you are enabling this for the
>> fpm sapi. I thought we agreed that this should only be in the sapis that
>> supported dl() and those are cgi, cli and embed. And .user.ini doesn't
>> apply to embed, so it would just be cli and cgi because these are the
>> non-persistent cases where there is no danger of screwing up the next
>> request with a bad extension in a .user.ini file.
>
> Hmm, it looks like cli doesn't have .user.ini support at all. Does this
> mean we should implement .user.ini for these SAPIs? I'd be in favor.
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
-Hannes