diff options
author | lassulus <lass@aidsballs.de> | 2016-05-25 16:32:32 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-05-25 16:32:32 +0200 |
commit | 565d06608e7eb4a51693f769e239861f48e3bf37 (patch) | |
tree | 6aa6ea8a786a109eb5fbdf4fc54fba3413317c4e /lass/2configs/websites/domsen.nix | |
parent | e7f114ae090d6d2d0b9f11f03f58797feaef016a (diff) |
l 2 websites domsen: use old phpIni again
Diffstat (limited to 'lass/2configs/websites/domsen.nix')
-rw-r--r-- | lass/2configs/websites/domsen.nix | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lass/2configs/websites/domsen.nix b/lass/2configs/websites/domsen.nix index f31fccd51..43f9b3924 100644 --- a/lass/2configs/websites/domsen.nix +++ b/lass/2configs/websites/domsen.nix @@ -79,9 +79,18 @@ in { createHome = true; }; - services.phpfpm.phpOptions = '' - extension=${pkgs.phpPackages.apcu}/lib/php/extensions/apcu.so - sendmail_path = ${sendmail} -t + #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" + ''; + } '' + cat ${pkgs.php}/etc/php-recommended.ini > $out + echo "$options" >> $out ''; } |