summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf_validation.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2018-06-07 16:17:31 +0300
committerValentin Bartenev <vbart@nginx.com>2018-06-07 16:17:31 +0300
commit388390888bc0c2a3589b71e5b3dc57408a5f4c44 (patch)
treebda1a989f5b7a6b2441c8c0c6dda94dd4ddbfe02 /src/nxt_conf_validation.c
parent771dc2f55ebff313b99494411f8795e7a6fb76d5 (diff)
downloadunit-388390888bc0c2a3589b71e5b3dc57408a5f4c44.tar.gz
unit-388390888bc0c2a3589b71e5b3dc57408a5f4c44.tar.bz2
PHP: added setting of php.ini configuration file path.
Diffstat (limited to 'src/nxt_conf_validation.c')
-rw-r--r--src/nxt_conf_validation.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c
index cd5b576f..6cbd8f22 100644
--- a/src/nxt_conf_validation.c
+++ b/src/nxt_conf_validation.c
@@ -201,6 +201,16 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_python_members[] = {
};
+static nxt_conf_vldt_object_t nxt_conf_vldt_php_options_members[] = {
+ { nxt_string("file"),
+ NXT_CONF_VLDT_STRING,
+ NULL,
+ NULL },
+
+ NXT_CONF_VLDT_END
+};
+
+
static nxt_conf_vldt_object_t nxt_conf_vldt_php_members[] = {
{ nxt_string("root"),
NXT_CONF_VLDT_STRING,
@@ -217,6 +227,11 @@ static nxt_conf_vldt_object_t nxt_conf_vldt_php_members[] = {
NULL,
NULL },
+ { nxt_string("options"),
+ NXT_CONF_VLDT_OBJECT,
+ &nxt_conf_vldt_object,
+ (void *) &nxt_conf_vldt_php_options_members },
+
NXT_CONF_VLDT_NEXT(&nxt_conf_vldt_common_members)
};