Cannot run install.php error 500

Windows server 2022

Here is the error from my PHP server log. I have granted the server user full control over the wwwroot folder, not sure what is going wrong

[15-Oct-2024 11:00:46 Europe/Dublin] PHP Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in C:\inetpub\wwwroot\SUITECRM\SuiteCRM\install\install_utils.php:732
Stack trace:
#0 C:\inetpub\wwwroot\SUITECRM\SuiteCRM\install\install_utils.php(732): fwrite()
#1 C:\inetpub\wwwroot\SUITECRM\SuiteCRM\install\install_utils.php(64): installLog()
#2 C:\inetpub\wwwroot\SUITECRM\SuiteCRM\install.php(827): installerHook()
#3 {main}
thrown in C:\inetpub\wwwroot\SUITECRM\SuiteCRM\install\install_utils.php on line 732

EDIT
I went in the file mentioned and found this code on line 732

if (@fwrite($fp, $nl.$entry) === false) {
$GLOBALS[‘log’]->fatal('could not write to install.log: '.$entry);
}

I don’t see the install.log file. Does anyone know where this file would be? If anyone can help with this I would be grateful.

Are you using version 8.x?

Check this forum for how to install on windows

Nope, I am using version 7.14.4

Try disabling anti-virus, Defender real-time protection, etc

So you’re not able to install SuiteCRM?

You can check config.php file and look for site_url value, default permissions, host_name.

Usually, it creates install.php file at your SuiteCRM root folder.