### [phpcms安装后首页出不来显示空白怎么办](https://www.prosaas.cn/article/1884) **Published:** 2020-07-18T03:03:15 **Author:** 5201314 **Excerpt:** phpcms安装后首页出不来是因为安装环境apache的默认页没有“index.htm”,其解决办法:首先找到… > phpcms安装后首页出不来是因为安装环境apache的默认页没有“index.htm”,其解决办法:首先找到并打开“httpd.conf”文件;然后在DirectoryIndex之后添加“index.htm”即可。 ![](//zhiqipro.oss-cn-beijing.aliyuncs.com/2023/12/20231212120355805.jpg) **phpcms****安装后首页出不来显示空白** **出错原因:** 这是因为你安装环境apache的默认页没有index.htm。 所以对于新手或者我们有时大意时来说,刚配置完毕环境,往往忽略在    符:\\Apache\\conf\\httpd.conf 中没有添加 index.htm **解决方法:** 打开盘符:\\Apache\\conf\\httpd.conf ,找到 DirectoryIndex index.html index.html.var index.php 复制代码在DirectoryIndex 之后添加 index.htm 。 这样默认页面便可访问。 以上就是phpcms安装后首页出不来显示空白怎么办的详细内容,更多请关注知企PROSAAS其它相关文章! **Tags:** apache, html, php, PHPCMS, var **Categories:** PHPCMS ---