I have been running Virtualmin with NGINX for hosting servers for several years. After doing apt-get upgrade to the server, all the hosts have lost PHP, via FCGI.
Switching to FPM, I am able to get PHP working again, but PHP-FCGI is now broken.
You can replicate the problem on a brand new server that is using Virtualmin with NGINX, and make a phpinfo file. With PHP-FCGI, the phpinfo will show 502 Gateway error (I’m using CloudFlare). And when I switch to PHP-FPM, the phpinfo works again.
Can anyone advise what has broken with Virtualmin/NGINX PHP-FCGI?