summaryrefslogtreecommitdiff
path: root/main/SAPI.c
diff options
context:
space:
mode:
authorDaniel Beulshausen <dbeu@php.net>2001-04-27 16:41:53 +0000
committerDaniel Beulshausen <dbeu@php.net>2001-04-27 16:41:53 +0000
commit1b279d34777d441dad613f86f513d5135582d104 (patch)
tree0e03375a8303e6c39a6096969e0d8ae7cab757ea /main/SAPI.c
parentb278223909dbbd071e8ebe800d5c4cca7756d633 (diff)
downloadphp-git-1b279d34777d441dad613f86f513d5135582d104.tar.gz
get rid of MS's _popen/_pclose
Diffstat (limited to 'main/SAPI.c')
-rw-r--r--main/SAPI.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/SAPI.c b/main/SAPI.c
index e967f6d0ed..b0bb456cae 100644
--- a/main/SAPI.c
+++ b/main/SAPI.c
@@ -73,6 +73,10 @@ SAPI_API void sapi_startup(sapi_module_struct *sf)
virtual_cwd_startup(); /* Could use shutdown to free the main cwd but it would just slow it down for CGI */
#endif
+#ifdef PHP_WIN32
+ tsrm_win32_startup();
+#endif
+
reentrancy_startup();
php_global_startup_internal_extensions();
@@ -84,6 +88,11 @@ SAPI_API void sapi_shutdown(void)
#ifdef VIRTUAL_DIR
virtual_cwd_shutdown();
#endif
+
+#ifdef PHP_WIN32
+ tsrm_win32_shutdown();
+#endif
+
php_global_shutdown_internal_extensions();
zend_hash_destroy(&known_post_content_types);
}