Re: [PATCH] Enable extension loading from .user.ini when run as CGI.
| From: | Edward Z. Yang | Date: | Sat, 28 Jul 2012 06:27:42 +0000 |
| Subject: | Re: [PATCH] Enable extension loading from .user.ini when run as CGI. | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61850@lists.php.net to get a copy of this message | ||
Excerpts from Pierre Joye's message of Sat Jul 28 02:20:51 -0400 2012:
> > Functionality is not included for other SAPIs because they either do not
> > support .user.ini (e.g. CLI) or they serve multiple requests and thus
> > do not support dl() (e.g. FastCGI).
>
> dl has been disabled in FastCGI and other web SAPIs for a reason, it
> is not working well and brings php to instability. I do not think
> adding this to .user.ini will be any better.
It has been a while, but last winter we discussed this patch and decided
that extension loading was OK for short-lived PHP processes, e.g. CGI.
So this patch only enables it for CGI.
> Can you create a patch only for this bug fix please? Ideally a bug
> report + patch or pull request :-)
Sure, I can split in two. Does PHP use pull requests?
Edward