Nginx and PHP enabling/disabling

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Webmin version 2.101
Usermin version 2.001
Virtualmin version 7.7
Theme version 21.05
Package updates All installed packages are up to date

Just a quick problem,
This is probably only relevant to nginx

I needed to enable PHP (just a temporary test) which worked fine
but then disabled it again (to put things back to normal for this VS)

However the nginx server went down with a warning and refused to restart.

A trusty nginx -t command showed an error in all the sites_enabled/domain.com.conf files all the fastcgi_params had not been removed.

I went in and removed them all and the test shows all ok now and the nginx started ok.

shouldn’t these lines have been removed as part of the turning off PHP ?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.