can you put the same php file into the c:\inetpub\wwwroot directory and run it?
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:
see this tutorial for more information:
If you would rather continue using IIS, seer this tutorial for configuring PHP MySQL Separately;