Hello everyone!
I am new to Moodle and am interested in installing a new instance to support internal training initiatives for our small firm. When researching Moodle, I discovered that there have been significant changes made to the 5.1 release and that migration from previous versions (4.x and earlier) have been challenging for many customers. As a result, since we are starting brand new, I thought I'd try to push ahead and complete a Moodle 5.1 installation so that I will not have to worry about completing the upgrade in the future.
Now, I will apologize in advance, as we utilize Microsoft technologies so we are trying to install a fresh instance of Moodle 5.1 using Windows Server 2025, Microsoft IIS, PHP 8.5, Visual C++ Redistributable (latest version), and MariaDB 11.8.5. Unfortunately, we are running into configuration issues related to the refactoring of Moodle code with the 5.1 release and the introduction of the /public directory and all of the IIS configuration guides that we have found online reference prior Moodle releases.
At this time, I have completed the following steps:
1) Installed a fresh Windows Server 2025 VM with all Windows updates installed
2) Installed Microsoft IIS and configured SSL Certificate
3) Installed PHP 8.5 and validated that PHP is working properly
4) Installed MariaDB and confirmed that MariaDB is working properly
5) I downloaded the Moodle 5.1 .ZIP from the Moodle website and extracted it to the /wwwroot directory in IIS
Although I have made many attempts to get through the installation wizard (e.g. assign folder permissions, verify URLs, etc.), I cannot complete the wizard because of the existence of the /public directory. I tried commenting it out in the config.php but I was still unable to complete the installation.
It appears to me that I need to either modify the folder structure of the Moodle .ZIP extract (which introduces breaking changes) or modify IIS configuration settings in order to point to the correct directory. However, since I can't find any guidance on how to do this with Moodle 5.1, I'm stuck.
Although I have been able to successfully install 4.5.7, I'm trying to avoid what seems to be a painful future upgrade to 5.1. With that in mind, has anyone had success in completing a Moodle 5.1 installation using the Microsoft technologies identified above? Any guidance would be greatly appreciated. Thank you.