+1 to Mr. V's suggestion to move to a Linux - very true that most admins in these forums are Linux people.
And to add 2 cents more to recommendation of 'linux' ... *might* be best to choose Ubuntu (LTS) or Debian and not CentOS 7 which is moving to CentOS Stream (3rd party repo for PHP?). There is an alt replacement for CentOS 7 reported to be available 1qtr of 2021 by another name which promises to be able to update CentOS 7 when it reaches EoL with it's distro and in place. ('in place' not a feature to CentOS).
The 'factor' ... PHP version ... and use of reputable 3rd party repos for PHP. Years ago, I had chosen to use Webtatic as the repo for PHP ... they seem to be keeping up ... but recently not keeping up. So I've just finished moving from Webtatic repo to Remi as they are keeping up on CentOS 7 servers.
An 'adventure' to say the least ... not straight forward and *not* a 'no brainer' ... have a headache but done! :|
BTW, never thought I'd be saying any of the above cause have been a RH Family user for years. Just goes to show the old saying of 'the only constant is change' is true in tech world. That's true of Microsoft as well ... linux subsytems now and support especially for Ubuntu guest OS's in their VM Azure.
Note also (as Visvanath has also mentioned), it would be recommended to use Linux behind Moodle, rather than Windows servers anyway (PHP is a server based language, the operating system users have on their device is irrelevant). That would be straightforward with just about any web-hosting company for a small Moodle, but is also almost certainly what any Moodle Partner would be using to support a Moodle site for you.
Note 2: If you are looking at setting up a small Moodle (you don't say what size instance you are considering), then do be aware that Moodle HQ run the MoodleCloud service which may be of interest to you.
does NOT mean that nobody will
Yeah, i just came to say the same. Even though I am a big Linux fan myself and I believe that PHP + SQL web applications generally better fit into a Linux server environment, I am also pretty confident that there will still exist some PHP builds for Windows. Just use whatever you and your team are most experienced with.