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

deur Robert G -
Getal antwoorde: 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?

Gemiddeld van beoordelings: -
In antwoord op Robert G

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

deur 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..
Gemiddeld van beoordelings:Useful (1)
In antwoord op Robert G

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

deur Emma Richardson -
Prentjie van Documentation writers Prentjie van Particularly helpful Moodlers Prentjie van 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!
Gemiddeld van beoordelings: -