diff options
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r-- | sapi/apache2handler/php_functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache2handler/php_functions.c b/sapi/apache2handler/php_functions.c index 66ff4892f5..095845cd62 100644 --- a/sapi/apache2handler/php_functions.c +++ b/sapi/apache2handler/php_functions.c @@ -480,6 +480,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; } |