Upgrading PHP from 7.4 to 8.0 on Windows Server ISS causes Moodle Config Error

Upgrading PHP from 7.4 to 8.0 on Windows Server ISS causes Moodle Config Error

על ידי Robert G בתאריך
מספר תגובות: 2
Hello,

In preparation to take our Moodle instance from 4.1 to 4.2 i'm trying to upgrade PHP on a Windows Server with IIS and MSSQL database. After changing the PHP version from 7.4 to 8.0, I get the following error:


Works fine when I revert. PHP error log looks ok. I have the MSSQL driver installed, that was showing a different error if that was missing. Any ideas?

ממוצע דרוגים: -
בתגובה ל: Robert G

Re: Upgrading PHP from 7.4 to 8.0 on Windows Server ISS causes Moodle Config Error

על ידי Robert G בתאריך
So after countless troubleshooting for anyone else that might run into this. I had ODBC drivers 18 and 13 installed on the server. After uninstalling version 18 and only keeping 13 everything starting working again. What fun..
בתגובה ל: Robert G

Re: Upgrading PHP from 7.4 to 8.0 on Windows Server ISS causes Moodle Config Error

על ידי Emma Richardson בתאריך
תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Plugin developers
Thanks for sharing your solution! I keep thinking about upgrading to 4.2 but my first attempt failed miserably so any pointers are helpful!