Warning: require_once() [function.require-once]: Unable to access ./include/common.inc.php in E:\forumcityheb\index.php on line 12
Warning: require_once(./include/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in E:\forumcityheb\index.php on line 12
Fatal error: require_once() [function.require]: Failed opening required './include/common.inc.php' (include_path='d:/php5/includes') in E:\forumcityheb\index.php on line 12
在网上也google baidu了一下 出现这个问题的还真不少,修改./include/为include/问题解决 
但rewrite加载总是不成功。 
倒腾了半天才发现原来是权限问题,给设置了everyone权限,一切就ok了
最后提醒大家,iis要启用父路径。
方法一:
1、去掉修改 common.inc.php里所有 ‘./   为   ’/   (就是把中间的点去掉),将”index.php”等根目录的php文件里面的./include/….”里的”./”完全删除。就可以正常访问。(之前同事提到过,我测试也是这样。)
2、将网站安装置于二级目录下,使用超链接转向到网站,再安装一切正常。(按照这个说的解决方法,获得灵感。)
3、给予根目录everyone全部权限(获得灵感,但是服务器上是不可能这么设置的) 
方法二:
include_path='.;C:\php5\pear'  
用wamp中的php安装的路径(文件夹不用中文名)
include_path='C:\php5\pear'   
或在php.ini里面有这一行,去掉句首的';',然后重启WEB服务器。
;include_path = ".;d:\AppServ\www\ZendFramework-1.5.0RC1\library"
url:http://zhidao.baidu.com/question/169525281.html?fr=qrl&cid=93&index=1
url:http://apps.hi.baidu.com/share/detail/30549027
09-05 20:02