diff options
author | lassulus <lass@aidsballs.de> | 2016-04-11 16:51:12 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-11 16:51:12 +0200 |
commit | 2723a1fcd85ccaf9fea6faa6ec51358f706b8883 (patch) | |
tree | e81b5ecea110a51372f95ca6eabd86072d0e65d2 /lass/2configs | |
parent | 72e46878ea759f8909c90d2f5f293bfb8f3a6104 (diff) |
l 2 websites domsen: add apcu to phpfpm
Diffstat (limited to 'lass/2configs')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index cbda7b99e..1b62bd977 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -56,10 +56,13 @@ in { createHome = true; }; - #lass.wordpress = { - # "ubikmedia.de" = { - # }; - #}; - + services.phpfpm.phpIni = pkgs.runCommand "php.ini" { + options = '' + extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so + ''; + } '' + cat ${pkgs.php}/etc/php-recommended.ini > $out + echo "$options" >> $out + ''; } |