Pin PHP-FPM version to 7.4

This commit is contained in:
coolneng 2021-06-20 17:10:52 +02:00
parent 5911e6f678
commit b498a9556a
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -15,6 +15,7 @@
services.phpfpm.pools.wallabag = { services.phpfpm.pools.wallabag = {
user = "nginx"; user = "nginx";
group = "nginx"; group = "nginx";
phpPackage = pkgs.php74;
settings = { settings = {
"listen.owner" = config.services.nginx.user; "listen.owner" = config.services.nginx.user;
"listen.group" = config.services.nginx.group; "listen.group" = config.services.nginx.group;
@ -24,7 +25,7 @@
"pm.max_requests" = 32; "pm.max_requests" = 32;
"env[WALLABAG_DATA]" = "/var/lib/wallabag"; "env[WALLABAG_DATA]" = "/var/lib/wallabag";
}; };
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ]; phpEnv."PATH" = lib.makeBinPath [ pkgs.php74 ];
}; };
# Set environment variable pointing to wallabag configuration directory # Set environment variable pointing to wallabag configuration directory