mirror of
https://github.com/php/php-src.git
synced 2025-01-18 17:54:05 +08:00
Don't anload zend extensions if ZEND_DONT_UNLOAD_MODULES environment variable is set
This commit is contained in:
parent
a9d985263a
commit
7edd562787
@ -195,7 +195,7 @@ void zend_shutdown_extensions(TSRMLS_D)
|
||||
void zend_extension_dtor(zend_extension *extension)
|
||||
{
|
||||
#if ZEND_EXTENSIONS_SUPPORT && !ZEND_DEBUG
|
||||
if (extension->handle) {
|
||||
if (extension->handle && !getenv("ZEND_DONT_UNLOAD_MODULES")) {
|
||||
DL_UNLOAD(extension->handle);
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user