phpcms安装过程中的一些问题

phpcms安装完成之后,需要更新缓存文件,由于此时的缓存是 /install/install.php产生的缓存。

刚才进行了缓存更新,首页生成。结果依然只想 /install/install.php

出现这种状况,首先看了一下url(local/phpcms), 那么查找根目录下的文件(index.html, index.php)。

index.html是静态文件不会进行url跳转。那么可能的原因就是index.php了。查看apache2配置文件 dir.conf

DirectoryIndex的顺序是: index.html index.php 那么在index.html, index.php 共存的情况,index.html执行。

浏览器缓存..... 清除浏览器缓存之后页面正常显示。

原文地址:https://www.cnblogs.com/jesseZh/p/3055662.html