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 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 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? Link to comment https://forums.phpfreaks.com/topic/123625-apache22php5-configuration-problem/#findComment-638772 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.