Fw: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c

From: Date: Mon, 19 Jan 2004 11:54:12 +0000
Subject: Fw: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c
Groups: php.internals 
Request: Send a blank email to internals+get-7185@lists.php.net to get a copy of this message
Bah, stupid OE. ----- Original Message ----- From: "Wez Furlong" <wez@thebrainroom.com> To: "Christian Schneider" <cschneid@cschneid.com> Sent: Monday, January 19, 2004 11:53 AM Subject: Re: [PHP-DEV] Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_API.c > This is quite difficult to implement correctly, as the extension > name != module file name, and that filename is platform dependent > and not consistent between the various extensions (for example, > the gd extension is named php_gd2.dll under windows). > > It should be sufficient to warn the user to fix their php.ini > file, at least for the moment; anything more than that is too > complex to stick into PHP 5 at this stage. > > --Wez. > > > Wez Furlong wrote: > > > Even better would be to add an array of module names into the module > > > structure and have the ZE apply this check when it loads the module. > > > > > > I think that it is reasonably important to warn the user that things > > > will break if we can detect it. > > > > If there was an array of dependencies in the modules then the ZE could > > even try to figure out the right order to load the modules. A > > warning/error could be given if there are any circular dependencies. >

« previous php.internals (#7185) next »