Browse Source

Added missing initialization, which causes AP2 to crash on startup in ZTS.

migration/unlabaled-1.3.2
Ilia Alshanetsky 24 years ago
parent
commit
2e0651f378
  1. 3
      sapi/apache2handler/php_functions.c

3
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;
}

Loading…
Cancel
Save