Added mod_php option for httpd.

svn path=/nixos/trunk/; revision=9155
This commit is contained in:
Michael Raskin 2007-08-18 15:19:27 +00:00
parent 2a4417d637
commit f7d2ccdb87
2 changed files with 7 additions and 0 deletions

View file

@ -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"];

View file

@ -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