Added mod_php option for httpd.
svn path=/nixos/trunk/; revision=9155
This commit is contained in:
parent
2a4417d637
commit
f7d2ccdb87
2 changed files with 7 additions and 0 deletions
|
@ -783,6 +783,12 @@
|
|||
directories and directory aliases defined by default.
|
||||
";
|
||||
}
|
||||
|
||||
{
|
||||
name = ["services" "httpd" "mod_php"];
|
||||
default = false;
|
||||
description = "Whether to enable php module.";
|
||||
}
|
||||
|
||||
{
|
||||
name = ["services" "httpd" "subservices" "subversion" "enable"];
|
||||
|
|
|
@ -29,6 +29,7 @@ let
|
|||
webServer = import ../services/apache-httpd {
|
||||
inherit (pkgs) apacheHttpd coreutils;
|
||||
stdenv = pkgs.stdenvNewSetupScript;
|
||||
php = if getCfg "mod_php" then pkgs.php else null;
|
||||
|
||||
inherit hostName httpPort httpsPort
|
||||
user group adminAddr logDir stateDir
|
||||
|
|
Loading…
Reference in a new issue