I am using Windows 7 with IIS 7. I am trying to get started with PHP. I have performed the following:
- Installed PHP using the web platform installer
- Verified that PHP is installed by using 'Check phpinfo()' on the PHP manager within the root folder of my website (all on my local machine)
When I test to see if PHP is working with a simple HTML page as follows:
<!DOCTYPE html>
<html>
<body>
<?php
echo "My first PHP script!";
?>
</body>
</html>
Chrome does not render anything. I am expecting to see the text.
Can anyone advise me how to proceed?
Thanks
.htmlfiles, then it won't be parsed with PHP..phpextension?.phpextension, or figure out how to force.htmlpages through the PHP processor. I don't remember how, but I wouldn't suggest it in IIS because IIS does enough weird shit on its own without screwing with the handler mappings.