l 2 websites domsen: add apcu to phpfpm

This commit is contained in:
lassulus 2016-04-11 16:51:12 +02:00
parent 72e46878ea
commit 2723a1fcd8

View file

@ -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
'';
}