站点已全面升级,欢迎大家体验。
当前位置:首页 > 互联网络 > 正文

wordpress出现:require(wp-blog-header.php) [function.require]: failed to open stream……解决办法

今天在服务器上安装Wordpress3.0.1,发现无法安装,首页两行英文:

Warning: require(wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in e:\www\web\***\wwwroot\index.php on line 17

Fatal error: require() [function.require]: Failed opening required ‘wp-blog-header.php’ (include_path=’.;C:\php5\pear’) in e:\www\web\***\wwwroot\index.php on line 17

记得上次安装wordpress的时候就出现过这个问题,好像是权限的问题,而且是父路径权限的总是,因为服务器设置了严格的权限,好像是相对路径./无法使用,解决方法如下:

把index.php里第17行

require(‘./wp-blog-header.php’);

修改成

require(‘wp-blog-header.php’);

改完以后马上正常了

原创文章如转载请注明:香窝窝

标签:
分类:互联网络 | 发布:傻子默默 | 评论:0 条 | 发表时间:2011-06-11 17:17
引用:http://www.xwowo.cn/hulianwang/wp-require.html
上一篇:
下一篇:

发表评论

*

* 绝不会泄露



Design By 香窝窝 | Power By Xwowo