cron.php wont run, tries to load a dll from a completely wrong directory.

Hey guys, another issue here. cron.php will no longer start, and will return the following error:

It is referencing "iis express\PHP\v7.0\ext\php_mysql.dll.

We downgraded to a lower PHP version, and our php directory is immediately under program files. Also we dont use IIS express, just IIS. Any idea where I could change what directory this is pointing to?

Thanks.