summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/main/main.c b/main/main.c
index f32789ba90..d2e18fcffd 100644
--- a/main/main.c
+++ b/main/main.c
@@ -916,8 +916,6 @@ void php_module_shutdown()
return;
}
- php_shutdown_fopen_wrappers();
-
/* close down the ini config */
php_config_ini_shutdown();
@@ -931,6 +929,7 @@ void php_module_shutdown()
global_lock_destroy();
zend_shutdown();
+ php_shutdown_fopen_wrappers();
UNREGISTER_INI_ENTRIES();
php_ini_mshutdown();
shutdown_memory_manager(0, 1);