l 2 websites domsen: add apcu to phpfpm
This commit is contained in:
parent
72e46878ea
commit
2723a1fcd8
|
@ -56,10 +56,13 @@ in {
|
||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#lass.wordpress = {
|
services.phpfpm.phpIni = pkgs.runCommand "php.ini" {
|
||||||
# "ubikmedia.de" = {
|
options = ''
|
||||||
# };
|
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
||||||
#};
|
'';
|
||||||
|
} ''
|
||||||
|
cat ${pkgs.php}/etc/php-recommended.ini > $out
|
||||||
|
echo "$options" >> $out
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue