From 30a242aa3cbfc3c3368ba0b6d2b4e579b31dc553 Mon Sep 17 00:00:00 2001 From: Tiago Natel de Moura Date: Tue, 25 Aug 2020 13:28:14 +0100 Subject: PHP: added bind mounts for extensions directory. --- src/nxt_php_sapi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/nxt_php_sapi.c b/src/nxt_php_sapi.c index bc8341f4..d7e5b476 100644 --- a/src/nxt_php_sapi.c +++ b/src/nxt_php_sapi.c @@ -14,6 +14,8 @@ #include #include +#include NXT_PHP_MOUNTS_H + #if PHP_VERSION_ID >= 50400 #define NXT_HAVE_PHP_IGNORE_CWD 1 @@ -250,8 +252,8 @@ NXT_EXPORT nxt_app_module_t nxt_app_module = { compat, nxt_string("php"), PHP_VERSION, - NULL, - 0, + nxt_php_mounts, + nxt_nitems(nxt_php_mounts), NULL, nxt_php_start, }; -- cgit