l 2 websites domsen: add apcu to phpfpm
This commit is contained in:
parent
72e46878ea
commit
2723a1fcd8
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue