- ZTS needs ZEND_INIT_MODULE_GLOBALS
authorMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 11:01:04 +0000 (11:01 +0000)
committerMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 11:01:04 +0000 (11:01 +0000)
http.c

diff --git a/http.c b/http.c
index 722c2285a65475975e5218eff4e68537d7fdbe0f..9371e19a41c059b8e15be271e34f1de52bde9085 100644 (file)
--- a/http.c
+++ b/http.c
@@ -185,6 +185,10 @@ PHP_MINIT_FUNCTION(http)
 {
        http_module_number = module_number;
 
+#ifdef ZTS
+       ZEND_INIT_MODULE_GLOBALS(http, NULL, NULL)
+#endif
+
        REGISTER_INI_ENTRIES();
 
 #ifdef HTTP_HAVE_CURL