PHP Fatal error: Unknown: Failed opening required
来源:互联网 发布:linux编译c程序 编辑:程序博客网 时间:2024/06/05 18:11
问题描述:apache日志中突然报如下错误:
[Wed Nov 05 15:24:06 2014] [error] [client xxx.xxx.xxx.xxx] PHP Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0
[Wed Nov 05 15:24:06 2014] [error] [client xxx.xxx.xxx.xxx] PHP Fatal error: Unknown: Failed opening required '/webpath/webcode/index.php' (include_path='.:/usr/share/pear:/usr/share/php') in Unknown on line 0
问题原因:php的配置文件php.ini中open_basedir被打开并修改
解决方法:
1、将open_basedir注释掉
2、在open_basedir中添加webpath
0 0
- PHP Fatal error: Unknown: Failed opening required
- Fatal error: Unknown: Failed opening required ''
- PHP 报错 Warning: Unknown: failed to open stream Fatal error: Unknown: Failed opening required
- Fatal error: Unknown: Failed opening required 'c:/wamp/www/view.php' (include_path='.
- laravel php -S 自定义域名 -t 目录 ,报错 PHP Fatal error: Unknown: Failed opening required 'public/' (include
- Fatal error: require() [function.require]: Failed opening required 'db.php'
- yii框架搭建问题:PHP Fatal error: require_once(): Failed opening required
- Failed opening required 'bootstrap/../vendor/autoload.php'
- PHP Failed opening required (include_path='.;C:\php\pear')
- 出现unknown opening required错误
- Laravel 5 Failed opening required bootstrap/../vendor/autoload.php 报错
- 连接ORACLE数据库时报错:Unknown error opening cursor
- linux环境下exec报错:Error opening terminal:unknown
- Fatal error:WinRDI OpenProc failed
- Repo Init Fatal: error unknown url type
- IAR fatal error:unknown exception in drier7
- Error: recoverUnfinalizedSegments failed for required journal
- Stash Git error “fatal: remote error: CAPTCHA required”
- 第11周项目1 函数版星号图1
- 第十一周上机项目一(1)
- 第11周项目1-函数版星号图
- 聊聊高并发(二十一)解析java.util.concurrent各个组件(三) 深入理解AQS(一)
- 【学习笔记】JavaWeb 服务启动时,在后台启动加载一个线程
- PHP Fatal error: Unknown: Failed opening required
- C语言排序(8)___选猴王
- MMU ARM 原理
- 型号图
- Python 安装 BeautifulSoup(Win7)
- 第十一周项目一(2)
- 第十一周项目一——函数版星号图(1)
- [Leetcode]Populating Next Right Pointers in Each Node
- 第11周项目1-函数版星号图(2)