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:
![](https://moodle.org/pluginfile.php/133/mod_forum/post/1813413/Screenshot%202023-10-06%20at%209.16.53%E2%80%AFAM.png)
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?