shanewang Posted September 10, 2008 Share Posted September 10, 2008 I've built a local environment on my own xp using apache2.2.9+php5.2.6. My problem is when I tried to test if the configuration works well: I input http:\\localhost\ in my browser, it turned out to be that a download window poped up and the downloaded file is index.html in htdocs. Why couldn't it work in my browser? I mean, the html file should show its contents in the browser, shouldn't it? Hope somebody could help me out, thank you in advance Quote Link to comment https://forums.phpfreaks.com/topic/123625-apache22php5-configuration-problem/ Share on other sites More sharing options...
JonnoTheDev Posted September 10, 2008 Share Posted September 10, 2008 Have you set: DirectoryIndex index.html in you httpd.conf Quote Link to comment https://forums.phpfreaks.com/topic/123625-apache22php5-configuration-problem/#findComment-638443 Share on other sites More sharing options...
shanewang Posted September 11, 2008 Author Share Posted September 11, 2008 Have you set: DirectoryIndex index.html in you httpd.conf Yeah, I did, it's set by default already. Then? Quote Link to comment https://forums.phpfreaks.com/topic/123625-apache22php5-configuration-problem/#findComment-638772 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.