mirror of
https://github.com/php/php-src.git
synced 2025-08-18 23:18:56 +02:00
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:
parent
9a0b61a619
commit
030b707296
12 changed files with 13 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue