[Phpmyadmin-devel] About Patch #491236 - php 4.0.3pl1 workaround

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Tue Dec 11 12:19:45 CET 2001

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.

Robin Hugh Johnson
QTOD: "I used to be an idealist, but I got mugged by reality."
E-Mail     : robbat2 at orbis-terrarum.net
ICQ#       : 30269588 or 41961639
Home Page  : http://www.orbis-terrarum.net
Time Zone  : Pacific Daylight (GMT - 8)
geekcode.com ebb.org/ungeek
GCS/M/IT d-(+) s+:- a--- C++++
U++++ L++++ P--(+) W++ K++ PS+
N++ w--- O E---- M-(+) V-- Y++
PE++ PGP++ t-- 5 X+ R tv- b+++
D++ G++ e(*) h! r-- !y+
------END GEEK CODE------
-----PGP INFO-{---
Key ID:0x7E20DFA1
5447C73A 30FB144C 89521B69 2D6A615E 7E20DFA1
---}-PGP INFO-----

More information about the Developers mailing list