Thund3rcat Posted March 4, 2013 Share Posted March 4, 2013 Sorry if this in the wrong forum area - I'll move it to a more appropriate one if necessary? Very new to PHP but I seem to have installed it ok and it's running as expected. I'm dropping files into my inetpub/wwwroot drive, and when I go to my browser and type in the url "localhost/tester.php", the results are coming to screen and running as expected. Bonus. If I have an html file in the folder, should I be able to run it exactly the same way? ("localhost/index.html")? If I try it, I get an error message "Oops, that link appears to be broken" Both files definitely exist in that folder - in fact I've made two very simple files containing just a string of text - "Hello World", but saved one as index.php (no actual php coding inside as such) and the other as index.html. Php one comes out fine, html one reports the error Am I doing something obviously wrong here? There's a couple of screenshots attached for my own sanity, really. Any help would be appreciated. TC Quote Link to comment Share on other sites More sharing options...
requinix Posted March 4, 2013 Share Posted March 4, 2013 It'd help to know why Chrome isn't liking that page. Hit F12, go to the Network tab at the bottom, and refresh the index.html page. A row should pop up there showing what Chrome requested and what IIS responded with. Click it for details and make sure the little Headers tab is open. What does it show? Quote Link to comment Share on other sites More sharing options...
Thund3rcat Posted March 4, 2013 Author Share Posted March 4, 2013 Would you believe I went to control panel, unticked the IIS features, then ticked them all again and now it's working fine. Sigh. I'm assuming that there was one all important box that wasn't ticked the first time that is now ticked. Sorry to waste your time requinix - it's all sorted now. TC Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.