Doing some more investigating, I tried a different approach with a different agent to see if anything meaningful could come of it. I don't allow agents to make any changes. I manually run everything, verifying before I run anything. Its always 99% read/query only and the only time I make changes are after backups and after I verify it makes sense.
So this new analysis claims the root cause of the php-fpm issue is a bug in pfsense. Things seem to track back to a boot sequence issue that started immediately after I ran the latest pfsense upgrade in Aug. Here is the detail. Curious of the opinions here:
This is a known issue affecting multiple pfSense 2.9.0 CE users (several reports on the Netgate forum, same symptoms, same timing, interestingly all on Alder Lake-N hardware — N100/N200/N305, which matches your Intel N100). On some boots, /usr/local/lib/php-fpm.conf (the generated pool config, written by rc.php_ini_setup at boot) comes out as 650 bytes of pure NUL bytes — correct size, zero content. No [www]/[nginx] pool section → php-fpm fails with exactly the error you hit → webgui gets 50x, sshd never starts, filtering keeps working (matches your symptoms precisely). It's a write/flush race specific to this release on this CPU family, not corruption, not your hardware degrading, and not anything the other agent did.
Key practical facts from the forum thread:
Once it happens, it stays broken for the rest of that boot — there's no self-heal.
Console menu option 16 ("Restart PHP-FPM") reliably fixes it immediately in the same boot (several users confirm this — matches your experience exactly).
No Netgate Redmine bug ticket exists yet for this — it's unreported upstream.
Other users built a boot-time watchdog (/etc/rc.custom_boot_early) that detects the missing socket and auto-restarts php-fpm.