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

per Robert G,
Number of replies: 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?

Average of ratings: -
In reply to Robert G

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

per 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..
Average of ratings:Useful (1)
In reply to Robert G

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

per Emma Richardson,
Avatar Documentation writers Avatar Particularly helpful Moodlers Avatar 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!