I installed Matomo on two different Windows servers (2016 and 2022) with IIS 10. I get a 500 - Internal server error on both servers. phpinfo.php runs fine on both servers. Wordpress is running fine on both servers. I did not install the Wordpress version as I do not intend to use Matomo with Wordpress.
If I go to piwik.php or matomo.php I get the following error:
As Matomo is not installed yet, the Tracking API cannot proceed and will exit without error.
To install I just unzipped the install file into the website directory. What am I missing? I cannot find any log files.