]> granicus.if.org Git - php/commitdiff
MFH
authorIlia Alshanetsky <iliaa@php.net>
Tue, 25 Mar 2003 15:35:27 +0000 (15:35 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 25 Mar 2003 15:35:27 +0000 (15:35 +0000)
sapi/apache2handler/php_functions.c

index 6dfba7cd0d2a0b5791a8bf44dcbb30a52d97e7bf..8fcac82bd2f1e00bda1b37d961a88948d994cbe5 100644 (file)
@@ -478,6 +478,9 @@ PHP_INI_END()
 
 static PHP_MINIT_FUNCTION(apache)
 {
+#ifdef ZTS
+       ts_allocate_id(&php_apache2_info_id, sizeof(php_apache2_info_struct), (ts_allocate_ctor) NULL, NULL);
+#endif
        REGISTER_INI_ENTRIES();
        return SUCCESS;
 }