summaryrefslogtreecommitdiff
path: root/sapi/apache2handler/php_functions.c
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2003-03-25 15:35:27 +0000
committerIlia Alshanetsky <iliaa@php.net>2003-03-25 15:35:27 +0000
commitdb230015b86b675f142a0728ec69d855241e49da (patch)
treefdad678ef8a097ad7a5cb75988e8a2892bf20f02 /sapi/apache2handler/php_functions.c
parent1ce0aca43ee232e6c78f30a4a5a8402b1c61bdd9 (diff)
downloadphp-git-db230015b86b675f142a0728ec69d855241e49da.tar.gz
MFH
Diffstat (limited to 'sapi/apache2handler/php_functions.c')
-rw-r--r--sapi/apache2handler/php_functions.c3
1 files changed, 3 insertions, 0 deletions
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;
}