On Tue, 11 Dec 2001, [iso-8859-1] Lo�c wrote:
Hi List!
The only valuable part of this patch is its middle: commenting the whole "dynamically load mysql extension" feature Steve added some monthes ago.
Then since we know the "dl" function can't be used neither if "safe mode" is on, neither with a multi-threaded server soft. and since it'll be disable in the next php revisions the question is: shouldn't we remove this feature from the official script?
Actually, we should keep the dl function in there, and just see about adding checks for all the cases where it won't work. We already have the function_exists('dl) and ini_get('safe_mode'), so we just need a check for multi-threaded, which we can probably accomplish by looking at the server software name.
I actually use the dl loading of modules with Apache/PHP, as it greatly reduces the memory load on my system.