From db230015b86b675f142a0728ec69d855241e49da Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Tue, 25 Mar 2003 15:35:27 +0000 Subject: [PATCH] MFH --- sapi/apache2handler/php_functions.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index 6dfba7cd0d..8fcac82bd2 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -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; } -- 2.50.1