Date: Wed, 11 Feb 2004 14:02:41 +0200
To: Pierre-Alain Joye <[EMAIL PROTECTED]>
From: Andi Gutmans <[EMAIL PROTECTED]>
Subject: Re: dl() problem
Cc: Pierre-Alain Joye <[EMAIL PROTECTED]>,[EMAIL PROTECTED]

Pierre,

dl() should have been deprecated a long time ago.
It's not secure (for example on a shared server where you don't have access to php.ini), it's slow and it doesn't work in multi-threaded environments.
Besides that there are many chicken&eggs problems with dl() and we don't feel it's worth screwing up the Zend/PHP source code just to work around such problems.


Andi

At 12:59 PM 2/11/2004 +0100, Pierre-Alain Joye wrote:
On Wed, 11 Feb 2004 13:47:43 +0200
Andi Gutmans <[EMAIL PROTECTED]> wrote:

> Pierre,
>
> We looked at the problem. It is not very fixable and as dl() should be
>
> deprecated anyway we'll keep things the way they are.
> You should really load .so files via php.ini both for performance and
> stability reasons.

Deprecate dl() is not the way.

Performance is not in cause here or not in the way you think.

Then it is not always possible to alter the global php.ini, ie when only
some sections of a host will use an extension (here the performance
problem is the counter of what you think).

I do not care that much about the debug&dl issue, but not about dl. dl
is one of the functions that makes php flexible, we have to keep it,
imo.

I hope we can find a solution,

thanks for your work,

regards,

pierre

-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to