Edit report at http://bugs.php.net/bug.php?id=15036&edit=1
ID: 15036 Updated by: paj...@php.net Reported by: yohg...@php.net Summary: PHP should be able to control module load order. -Status: Re-Opened +Status: Assigned Type: Feature/Change Request Package: Dynamic loading Operating System: Any PHP Version: 4.1.0 or later -Assigned To: jani +Assigned To: pajoye Block user comment: N Private report: N New Comment: "18<Jani> ZEND_API int zend_startup_module_ex(zend_module_entry *module TSRMLS_DC) /* {{{ */ 18<Jani> See that one and look for 'module->deps'" Will take a look and see if it actually works, on all platforms :) Previous Comments: ------------------------------------------------------------------------ [2010-12-03 17:56:39] paj...@php.net Build deps are fixed, not ext dependencies. Loading order works, manually ordering it in php.ini. ------------------------------------------------------------------------ [2010-12-03 17:51:01] j...@php.net This has been fixed in 5.x, if it doesn't work, open new report for the specific issue. ------------------------------------------------------------------------ [2002-01-16 00:34:44] yohg...@php.net This is actually a bug from 4.1.0 :) It would be a feature request for 4.0.6 or less. Fixing this will likely require API change, configuration file changes, etc. I think the bug should fixed before PHP5. Change category and status. Problem Description: PHP module loader does not take into account module dependency. Therefore, there are problems with session and related modules since 4.1.0. The cause is session was made an internal module and initilized at first while older versions initilize session module later. Currently, session and related modules have this problem AFAIK. However, this proplem would be more serious issue when PECL module became a standard place for extensions. IMHO, it is important to discuss and fixing this problem ASAP. (BTW, this issue is not only applicable to dynamic loading, but also static module init) ------------------------------------------------------------------------ [2002-01-15 01:23:10] der...@php.net It's not a bug, but a feature request. Changing status and Category Derick ------------------------------------------------------------------------ [2002-01-14 22:14:52] yohg...@php.net Reminder for module loading issue. PHP should be able to control module load order with smart way to intialize module who has dependency correctly. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=15036&edit=1