diff options
Diffstat (limited to 'src/nxt_php_sapi.c')
-rw-r--r-- | src/nxt_php_sapi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index a7bfaac2..5a4dfe64 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -668,6 +668,8 @@ nxt_php_register_variables(zval *track_vars_array TSRMLS_DC) php_register_variable_safe((char *) (n), (char *) (v).start, \ (v).length, track_vars_array TSRMLS_CC) \ + NXT_PHP_SET("SERVER_SOFTWARE", nxt_server); + NXT_PHP_SET("SERVER_PROTOCOL", h->version); /* |