These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Debian 8 & PHP 5+7, default PHP Version on the new forum.
Hello,
I'm replacing my old debian server and as Virtualmin served me well over the last 8 years, my new setup is also managed with Virtualmin.
I decided to go with nginx this time and installed it in the following order:
In the meanwhile apache was also removed as it is not used anymore.
Regarding to https://www.virtualmin.com/documentation/web/nginx the highest available PHP version should be used by nginx. But every time I create a new virtual server the default is PHP 5 instead.
I can change it within /etc/init.d/ php-fcgi- by replacing the path, but I would like to set a standard for new servers as I need to set up a few more.
How can this be achived?
Thanks in advance!
Best regards Christian