windows2003 iis php5.20安装后出现空白页面问题解决 Windows2003 php5.20 iis a blank page after installation problems
今天为了安装discuz论坛,在windows2003下安装了php环境,一步一步安装完后,却发现无论什么页面,即使也简单的phpinfo页面也无法显示,表示为一片空白,尝试了网上介绍的所有方法,也没有解决。 Forum today to install discuz in windows2003 php installed environment, step-by-step installation of the latter, but found that no matter what the pages, even simple phpinfo pages also can show that the gap for a try to introduce all of the online method , have not been solved.
没法子,只能找到一个以前配置好的机器,对照查看,到底哪里有问题。没法子, only to find a good machine previous configuration, control Show, in the end where there is the problem. 最后发现,原来是php.ini文件的问题默认文件里有个doc_root =选项是注释掉的,必须去掉注释才可以,后面的值留空就可以了,和我遇到相同问题的朋友可以试一下。 Finally found, the original document is the issue of default php.ini file doc_root = there is a choice in front of them, and must be removed before they can Notes, as the value can be left blank, and I encountered the same problem can be friends try. 另外网上流行的说法是修改short_open_tag = On,好像没什么用,可能只是对discuz有用吧。 Another popular argument is online short_open_tag = On Laws, like nothing and may be useful only on the discuz it.






