Show PHP errors so we can figure out what's wrong

This commit is contained in:
Eli Ribble 2025-04-11 11:16:52 -07:00
parent 422aa2abb5
commit 5b814fb064
1 changed files with 19 additions and 14 deletions

View File

@ -38,7 +38,11 @@
enable = true;
network.enable = false;
};
services.phpfpm.pools.anythingforafriend = {
services.phpfpm = {
phpOptions = ''
display_errors = on;
'';
pools.anythingforafriend = {
user = "www-data";
settings = {
"listen.owner" = config.services.nginx.user;
@ -54,6 +58,7 @@
};
phpEnv."PATH" = lib.makeBinPath [ pkgs.php ];
};
};
services.nginx = {
enable = true;
virtualHosts."new.anythingforafriend.com" = {