Req #15036 [Asn->Opn]: PHP should be able to control module load order.

From: Date: Mon, 23 Oct 2017 00:02:05 +0000
Subject: Req #15036 [Asn->Opn]: PHP should be able to control module load order.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211831@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=15036&edit=1 ID: 15036 Updated by: kalle@php.net Reported by: yohgaki@php.net Summary: PHP should be able to control module load order. -Status: Assigned +Status: Open Type: Feature/Change Request Package: Dynamic loading Operating System: Any PHP Version: 4.1.0 or later -Assigned To: pajoye +Assigned To: Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2010-12-03 18:00:12] pajoye@php.net "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 :) ------------------------------------------------------------------------ [2010-12-03 17:56:39] pajoye@php.net Build deps are fixed, not ext dependencies. Loading order works, manually ordering it in php.ini. ------------------------------------------------------------------------ [2010-12-03 17:51:01] jani@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] yohgaki@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] derick@php.net It's not a bug, but a feature request. Changing status and Category Derick ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=15036 -- Edit this bug report at https://bugs.php.net/bug.php?id=15036&edit=1

« previous php.bugs (#211831) next »