can you put the same php file into the c:\inetpub\wwwroot directory and run it?
phpinfo.php

do you get an error there?

If so, the real problem at this stage is running php.

Perhaps the simplest solution will be to uninstall IIS and instead of configuring IIS for php, use xamp: