diff options
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 0f14f90421..53fde3343f 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -182,6 +182,7 @@ PHP_MINFO_FUNCTION(apache) extern char *user_name; extern gid_t group_id; extern int max_requests_per_child; + TSRMLS_FETCH(); serv = ((request_rec *) SG(server_context))->server; @@ -241,7 +242,6 @@ PHP_MINFO_FUNCTION(apache) array_header *arr; table_entry *elts; request_rec *r; - TSRMLS_FETCH(); r = ((request_rec *) SG(server_context)); arr = table_elts(r->subprocess_env); @@ -261,7 +261,6 @@ PHP_MINFO_FUNCTION(apache) table_entry *env; int i; request_rec *r; - TSRMLS_FETCH(); r = ((request_rec *) SG(server_context)); SECTION("HTTP Headers Information"); |