summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_php_sapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_php_sapi.c')
-rw-r--r--src/nxt_php_sapi.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c
index 1e1f4087..5655dcbc 100644
--- a/src/nxt_php_sapi.c
+++ b/src/nxt_php_sapi.c
@@ -167,8 +167,14 @@ nxt_php_str_trim_lead(nxt_str_t *str, u_char t)
}
}
+static uint32_t compat[] = {
+ NXT_VERNUM,
+};
+
NXT_EXPORT nxt_application_module_t nxt_app_module = {
+ sizeof(compat),
+ compat,
nxt_string("php"),
nxt_string(PHP_VERSION),
nxt_php_init,