From 61606835448554a7ee9a4431d732e1f2a9318376 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 31 Aug 2017 00:42:12 +0300 Subject: Introduced module compatibility vector. --- src/nxt_php_sapi.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/nxt_php_sapi.c') 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, -- cgit