l 2 websites domsen: use new phpOptions
This commit is contained in:
parent
ef4e7dc4ba
commit
88bb31e8d2
|
@ -144,22 +144,13 @@ in {
|
|||
};
|
||||
|
||||
|
||||
#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
|
||||
sendmail_path = "${sendmail} -t -i"
|
||||
always_populate_raw_post_data = -1
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 100M
|
||||
file_uploads = on
|
||||
'';
|
||||
} ''
|
||||
cat ${pkgs.php}/etc/php-recommended.ini > $out
|
||||
echo "$options" >> $out
|
||||
services.phpfpm.phpOptions = ''
|
||||
extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so
|
||||
sendmail_path = ${sendmail} -t
|
||||
always_populate_raw_post_data = -1
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 100M
|
||||
file_uploads = on
|
||||
'';
|
||||
|
||||
# MAIL STUFF
|
||||
|
|
Loading…
Reference in a new issue