I've just installed php with IIS but whenever I point to a php file the browser does not recognise the <?php ?> tags and displays the file as if it were an html file. What on earth could be causing this? I have the php file in wwwroot folder and this is where I've stored php files before but it simply doesn't work this time . What can I do?
A few questions. I assume you're saving as '***.php'? (as opposed to putting php in ***.html files) Are you pointing the browser in the fashion 'C:/inetpub/wwwroot/***.php' (which wont work) or 'localhost/***.php' (which will)? Did you install php or IIS first?