handle member in zend_module_entry is not getting populated
| From: | Kamesh Jayachandran | Date: | Tue, 06 Jul 2004 15:58:20 +0000 |
| Subject: | handle member in zend_module_entry is not getting populated | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-10931@lists.php.net to get a copy of this message | ||
Hi All,
In Zend/zend_API.c
function module_destructor
There is a code to do a dlclose on the dlopened handle.
The code looks like following,
if (module->handle) {
dlclose(module->handle);
}
Unfortunately this module->handle is always 0 which causes this symbols
not getting unloaded.(Even for dynamically loaded PHP extnsion also
handle is 0)
Till version 1.91 of ext/standard/dl.c this handle member was getting
populated.
From 1.92 onwards this stopped happening..
With regards
Kamesh Jayachandran