Re: Fwd: Re: dl() problem
| From: | Ilia Alshanetsky | Date: | Wed, 11 Feb 2004 16:29:42 +0000 |
| Subject: | Re: Fwd: Re: dl() problem | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7761@lists.php.net to get a copy of this message | ||
On February 11, 2004 11:20 am, Shane Caraveo wrote:
> 2. php's dl implementation is broken by design, it should never unload a
> dl. not only is that a performance issue, but it requires all kinds of
> code to verify that the dl CAN be unloaded properly, thus the problem
> with dl in php.
If the dl() loaded extension is not unloaded it means that in a shared
environment a module loaded for one vhost would become avaliable for all. In
this case why not just load it inside php.ini?
This destroys the ability to enable certain functionality for particular vhost
(users) who maybe paying extra for it and are trustworthy enough to use
certain extensions and not abuse them.
Ilia