Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c
| From: | Zeev Suraski | Date: | Mon, 06 Aug 2001 15:03:45 +0000 |
| Subject: | Re: cvs: php4 /ext/standard basic_functions.c incomplete_class.c php_incomplete_class.h var.c /ext/wddx wddx.c | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62270@lists.php.net to get a copy of this message | ||
At 17:52 06/08/2001, Andrei Zmievski wrote:
On Mon, 06 Aug 2001, Zeev Suraski wrote: How so? I can understand that people get used to it, but it's really bad. extensions should be loaded in the php.ini file. There's really no good reason for using dl() over the php.ini method. Of course there is. One example is using the same PHP binary to run scripts that use different extensions that wouldn't necessarily want to load all the time through php.ini.That's one of the places where the PHP/Web functionality and a PHP-standalone functionality collide. In a Web environment, it really makes no sense. The right solution for that is most probably going to be adding a command line option that loads an extension (we already have that for Zend extensions). Loading extensions from within a script is simply a pain to support, and it doesn't really give you anything. Zeev