summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index 290dba00fe..2fcd300d9a 100644
--- a/main/main.c
+++ b/main/main.c
@@ -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! */
{