Execute zend_post_startup() with module_initialized flag set.

This commit is contained in:
Dmitry Stogov 2018-10-29 15:25:17 +03:00
parent 6d4b22c518
commit 17a3cb4a2a

View File

@ -2362,12 +2362,12 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
module->info_func = PHP_MINFO(php_core);
}
module_initialized = 1;
if (zend_post_startup() != SUCCESS) {
return FAILURE;
}
module_initialized = 1;
/* Check for deprecated directives */
/* NOTE: If you add anything here, remember to add it to Makefile.global! */
{