黄聪:最新版wordpress出现:require(wp-blog-header.php) [function.require]: failed to open stream……的解决办法
2012-07-02 20:26
886 查看
今天在服务器上安装Wordpress3.0.4,发现无法安装,首页两行英文:
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in D:\wwwroot\1\index.php on line 17
Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.;C:\php5\pear') in D:\wwwroot\1\index.php on line 17
记得上次安装wordpress的时候就出现过这个问题,好像是权限的问题,而且是父路径权限的总是,因为服务器设置了严格的权限,好像是相对路径./无法使用,解决方法如下:
把index.php里第17行
修改成
改完以后马上正常了
Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in D:\wwwroot\1\index.php on line 17
Fatal error: require() [function.require]: Failed opening required './wp-blog-header.php' (include_path='.;C:\php5\pear') in D:\wwwroot\1\index.php on line 17
记得上次安装wordpress的时候就出现过这个问题,好像是权限的问题,而且是父路径权限的总是,因为服务器设置了严格的权限,好像是相对路径./无法使用,解决方法如下:
把index.php里第17行
require(‘./wp-blog-header.php’);
修改成
require(‘wp-blog-header.php’);
改完以后马上正常了
相关文章推荐
- 黄聪:VPS服务器如何配置PHP.ini解决wordpress使用WP-Mail-SMTP插件发邮件出现Could not connect to SMTP host的解决办法
- php文件上传 [function.move-uploaded-file]: failed to open stream 错误解决办法
- iis服务器php环境 failed to open stream: No such file or directory解决办法
- failed to open stream解决办法-关于WIN主机下配置PHP的若干问题解决方案总结
- <php+mysql>failed to open stream: Permission denied问题解决办法
- Warning: require_once(../models/Message.php) [function.require-once]: failed to open stream: No such
- 【解决问题】'failed to open stream:Permission denied in......'在php出现情况总结
- mac下php编程出现php [function.move-uploaded-file]failed to open stream
- PHP解决[function.file-get-contents]: failed to open stream: HTTP request failed!
- Laravel访问出错错误信息:`Warning: require(/vendor/autoload.php): failed to open stream: No such file or dire
- svnmanager 1.10 错误: require_once(VersionControl/SVN.php): failed to open stream...
- Warning: require(/www/101/eduask_net/ThinkPHP/Library/Think/Think.class.php): failed to open stream:
- PHP Warning: file_put_contents( ) [function.file-put-contents]: failed to open stream: Pe
- php file_get_contents失败[function.file-get-contents]: failed to open stream: HTTP request failed!解决
- Advanced PHP Programming -- "require_once(Console/getopt.php) : failed to open stream" P129
- 关于MAC下php出现:Call to undefined function Think\imagettftext()的解决办法
- MAC XAMPP搭建php开发环境,上传图片 move_uploaded_file出现错误 failed to open stream: Permission denied
- php上传文件时出现错误:failed to open stream: Permission denied
- Lamp环境下编写PHP代码时出现错误:Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
- 关于MAC下php出现:Call to undefined function Think\imagettftext()的解决办法