I don't know if we should get into this. Do we *really* care if we crash on
exit? We are talking about MSHUTDOWN not RSHUTDOWN here. It's not an ideal
situation but I wouldn't want screw things in PHP just for these dumb
shared libraries :)
Andi
At 02:36 PM 1/20/2004 +0100, Ard Biesheuvel
I don't know if we should get into this. Do we *really* care if we crash
on exit?
Are you serious ?? Of course we care about segfaults, don't we, even if
it's 'only' on exit ??
We are talking about MSHUTDOWN not RSHUTDOWN here. It's not an
Depends if you use dl() or load from php.ini. If
At 12:42 PM 1/21/2004 +0100, Ard Biesheuvel wrote:
I don't know if we should get into this. Do we *really* care if we crash
on exit?
Are you serious ?? Of course we care about segfaults, don't we, even if
it's 'only' on exit ??
What I'm saying is that if it were to require some ugly hacks in PHP
dl() is evil and should be deprecated. Actually that reminds me to add
an E_STRICT about it. Shared libraries should only be loaded via php.ini.
How about setting 'enable_dl' to 'Off' in php.ini-recommended ?
--
Ard
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
On Wed, 21 Jan 2004 14:06:55 +0100
Ard Biesheuvel [EMAIL PROTECTED] wrote:
dl() is evil and should be deprecated. Actually that reminds me to
add an E_STRICT about it. Shared libraries should only be loaded via
php.ini.
How about setting 'enable_dl' to 'Off' in php.ini-recommended ?
I agree; we can't deprecate dl().
There are some very common legitimate cases where it is really
useful, such as loading extensions that are not often needed into
a CGI (you don't want those in php.ini as they can slow down
your process startup).
--Wez.
dl() is evil and should be deprecated.
Wez Furlong wrote:
I agree; we can't deprecate dl().
There are some very common legitimate cases where it is really
useful, such as loading extensions that are not often needed into
a CGI (you don't want those in php.ini as they can slow down
your process startup).
I agree, but perhaps we should
On Wed, 21 Jan 2004 14:52:57 +0100
Ard Biesheuvel [EMAIL PROTECTED] wrote:
Changing the recommended setting of enable_dl is a first step.
I disagree. Set enable_dl Off in the recommanded php.ini will make it
disabled in many situations. This is not something good. But this
discussions sounds
Changing the recommended setting of enable_dl is a first step.
I disagree. Set enable_dl Off in the recommanded php.ini will make it
disabled in many situations. This is not something good. But this
discussions sounds like 'Do we have to educate endusers?'. Wez sample
usage is the perfect
Why is PHP the only scripting language that has an issue with loading
binary extensions at run time? :(
Shane
Ard Biesheuvel wrote:
Wez Furlong wrote:
I agree; we can't deprecate dl().
There are some very common legitimate cases where it is really
useful, such as loading extensions that are
Hello group,
I'm looking for a way to fix http://bugs.php.net/26968. This bug is
caused by the underlying client .so using atexit() to register a cleanup
function. As the library is unloaded before process shutdown, the
atexit() stack no longer contains a valid reference when it is called,
11 matches
Mail list logo