Update SAPI modules to interface with the new TSRM.

Enable thread-safety memory debugging in ISAPI when in debug mode
This commit is contained in:
Zeev Suraski 2000-11-18 02:44:04 +00:00
parent 9a0b61a619
commit 030b707296
12 changed files with 13 additions and 12 deletions

View file

@ -589,7 +589,7 @@ CONST_PREFIX char *php_apache_value_handler_ex(cmd_parms *cmd, HashTable *conf,
if (!apache_php_initialized) {
apache_php_initialized = 1;
#ifdef ZTS
tsrm_startup(1, 1, 0);
tsrm_startup(1, 1, 0, NULL);
#endif
sapi_startup(&sapi_module_conf);
php_apache_startup(&sapi_module_conf);
@ -708,7 +708,7 @@ void php_init_handler(server_rec *s, pool *p)
if (!apache_php_initialized) {
apache_php_initialized = 1;
#ifdef ZTS
tsrm_startup(1, 1, 0);
tsrm_startup(1, 1, 0, NULL);
#endif
sapi_startup(&sapi_module_conf);
php_apache_startup(&sapi_module_conf);