How to abort MINIT?
| From: | Michael B Allen | Date: | Wed, 21 May 2008 21:45:08 +0000 |
| Subject: | How to abort MINIT? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-37785@lists.php.net to get a copy of this message | ||
I provide an INI property to stop my extension from loading fully like:
if (strcmp(sapi_module.name, "cli") == 0 &&
INI_STR("plexcel.sapi.cli") &&
INI_BOOL("plexcel.sapi.cli") == 0) {
return;
}
But the extension is still loaded. It's just not initialized.
Is there any way to abort within PHP_MINIT_FUNCTION or call a function
to remove the extension from the runtime such that calling
extension_loaded('plexcel') returns FALSE?
Mike
--
Michael B Allen
PHP Active Directory SPNEGO SSO
http://www.ioplex.com/