Re: Fwd: Re: dl() problem
| From: | Stanislav Malyshev | Date: | Wed, 11 Feb 2004 16:42:55 +0000 |
| Subject: | Re: Fwd: Re: dl() problem | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7763@lists.php.net to get a copy of this message | ||
SC>> 2. php's dl implementation is broken by design, it should never unload a
SC>> dl. not only is that a performance issue, but it requires all kinds of
SC>> code to verify that the dl CAN be unloaded properly, thus the problem
SC>> with dl in php.
Heya... If you don't unload dl(), all arguments about ISPs that use dl()
for managing extension access go to the drain. So why would you need dl()
then, again?
SC>> 3. there are no security implications of allowing dl to work only on a
SC>> single specific directory (or sub directories of that)
So argument about "allowing users load extensions when there's no access
to php.ini" is dead too - if they don't have php.ini, why would they have
access to that golden directory - which is much more serious security
risk?
So, remind me, why do you need dl() at all?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109