mirror of
https://github.com/php/php-src.git
synced 2025-08-17 22:48:57 +02:00
Make Apache SAPI module compile in ZTS mode
This commit is contained in:
parent
91549cfa4f
commit
1687075373
2 changed files with 8 additions and 4 deletions
|
@ -63,7 +63,6 @@ PHPAPI int apache_php_module_main(request_rec *r, int fd, int display_source_mod
|
|||
zend_executor_globals *executor_globals=⪚
|
||||
php_core_globals *core_globals=&pcg;
|
||||
#endif
|
||||
SLS_FETCH();
|
||||
|
||||
if (php_request_startup(CLS_C ELS_CC PLS_CC SLS_CC) == FAILURE) {
|
||||
return FAILURE;
|
||||
|
@ -84,7 +83,7 @@ PHPAPI int apache_php_module_main(request_rec *r, int fd, int display_source_mod
|
|||
return NOT_FOUND;
|
||||
}
|
||||
} else {
|
||||
(void) php_execute_script(&file_handle CLS_CC ELS_CC);
|
||||
(void) php_execute_script(&file_handle CLS_CC ELS_CC PLS_CC);
|
||||
}
|
||||
|
||||
php3_header(); /* Make sure headers have been sent */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue