summaryrefslogtreecommitdiff
path: root/sapi/apache/sapi_apache.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-17 14:24:39 +0000
committerSascha Schumann <sas@php.net>1999-12-17 14:24:39 +0000
commit16870753733bf811bd0ba7461a279d0a3d90d29c (patch)
tree359cbde5bb3ec30a8dbc1d501f5acaf8f2b7f4d5 /sapi/apache/sapi_apache.c
parent91549cfa4fe0e8aac9e56d0a603de6d9d22c8396 (diff)
downloadphp-git-16870753733bf811bd0ba7461a279d0a3d90d29c.tar.gz
Make Apache SAPI module compile in ZTS mode
Diffstat (limited to 'sapi/apache/sapi_apache.c')
-rw-r--r--sapi/apache/sapi_apache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/apache/sapi_apache.c b/sapi/apache/sapi_apache.c
index 724e87238c..4efe1e189b 100644
--- a/sapi/apache/sapi_apache.c
+++ b/sapi/apache/sapi_apache.c
@@ -63,7 +63,6 @@ PHPAPI int apache_php_module_main(request_rec *r, int fd, int display_source_mod
zend_executor_globals *executor_globals=&eg;
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 */