Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71139 invoked by uid 1010); 11 Feb 2004 12:07:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 70798 invoked from network); 11 Feb 2004 12:07:25 -0000 Received: from unknown (HELO mail.zend.com) (192.117.235.230) by pb1.pair.com with SMTP; 11 Feb 2004 12:07:25 -0000 Received: (qmail 25507 invoked from network); 11 Feb 2004 12:07:23 -0000 Received: from guardian.zend.office (HELO andi-laptop.zend.com) (10.1.1.4) by int.zend.com with SMTP; 11 Feb 2004 12:07:23 -0000 Message-ID: <5.1.0.14.2.20040211140605.04419790@127.0.0.1> X-Sender: andi@127.0.0.1 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Wed, 11 Feb 2004 14:07:16 +0200 To: internals@lists.php.net In-Reply-To: <5.1.0.14.2.20040211140521.0641ebe0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Fwd: Re: dl() problem From: andi@zend.com (Andi Gutmans) References: <5.1.0.14.2.20040211140521.0641ebe0@localhost> Pierre, Just to add to this, the fact that it's deprecated doesn't mean you can't use it. It just means that there are known bugs which won't be fixed and the function won't be maintained. We've been through this a few times in the past few years and the conclusion has always been that dl() sucks. Andi At 02:05 PM 2/11/2004 +0200, Andi Gutmans wrote: >>Date: Wed, 11 Feb 2004 14:02:41 +0200 >>To: Pierre-Alain Joye >>From: Andi Gutmans >>Subject: Re: dl() problem >>Cc: Pierre-Alain Joye ,zeev@zend.com >> >>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 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