Re: Load extensions for .user.ini files
| From: | Rasmus Lerdorf | Date: | Tue, 08 Nov 2011 08:40:17 +0000 |
| Subject: | Re: Load extensions for .user.ini files | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56144@lists.php.net to get a copy of this message | ||
On 11/08/2011 12:23 AM, Edward Z. Yang wrote:
> Hello all,
>
> My team is interested in permitting .user.ini files to load
> extensions. We believe this to be a simple fix: add
> an invocation of php_ini_register_extensions to the end
> of sapi/cgi/cgi-main.c.
>
> I don't believe this steps on any invariants, since extensions
> can usually be loaded arbitrarily late.
>
> Let me know what the list thinks. I can submit a patch and tests
> if y'all decide it's a good idea.
You are aware that these extensions can't be unloaded, right? So one
user loading an extension will potentially be stepping on another user
and breaking their code.
-Rasmus