Revert "l 2 websites: phpIni -> phpOptions"
This reverts commit abdf11a173
.
This commit is contained in:
parent
4cd09fa26b
commit
60b85fb153
@ -113,18 +113,18 @@ in {
|
|||||||
createHome = true;
|
createHome = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.phpfpm.phpOptions = ''
|
#services.phpfpm.phpOptions = ''
|
||||||
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
|
||||||
sendmail_path = ${sendmail} -t
|
|
||||||
'';
|
|
||||||
#services.phpfpm.phpIni = pkgs.runCommand "php.ini" {
|
|
||||||
# options = ''
|
|
||||||
# extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
# extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
||||||
# sendmail_path = "${sendmail} -t -i"
|
# sendmail_path = ${sendmail} -t
|
||||||
# '';
|
|
||||||
#} ''
|
|
||||||
# cat ${pkgs.php}/etc/php-recommended.ini > $out
|
|
||||||
# echo "$options" >> $out
|
|
||||||
#'';
|
#'';
|
||||||
|
services.phpfpm.phpIni = pkgs.runCommand "php.ini" {
|
||||||
|
options = ''
|
||||||
|
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
||||||
|
sendmail_path = "${sendmail} -t -i"
|
||||||
|
'';
|
||||||
|
} ''
|
||||||
|
cat ${pkgs.php}/etc/php-recommended.ini > $out
|
||||||
|
echo "$options" >> $out
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -74,18 +74,13 @@ in {
|
|||||||
config.krebs.users.fritz.pubkey
|
config.krebs.users.fritz.pubkey
|
||||||
];
|
];
|
||||||
|
|
||||||
services.phpfpm.phpOptions = ''
|
services.phpfpm.phpIni = pkgs.runCommand "php.ini" {
|
||||||
|
options = ''
|
||||||
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
||||||
sendmail_path = ${sendmail} -t
|
sendmail_path = "${sendmail} -t -i"
|
||||||
|
'';
|
||||||
|
} ''
|
||||||
|
cat ${pkgs.php}/etc/php-recommended.ini > $out
|
||||||
|
echo "$options" >> $out
|
||||||
'';
|
'';
|
||||||
|
|
||||||
#services.phpfpm.phpIni = pkgs.runCommand "php.ini" {
|
|
||||||
# options = ''
|
|
||||||
# extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
|
||||||
# sendmail_path = "${sendmail} -t -i"
|
|
||||||
# '';
|
|
||||||
#} ''
|
|
||||||
# cat ${pkgs.php}/etc/php-recommended.ini > $out
|
|
||||||
# echo "$options" >> $out
|
|
||||||
#'';
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user