lnmp TP5 下open_basedir restriction in effect的问题处理
2017-07-17 09:57
633 查看
lnmp中Apache添加的虚拟主机目录设定到了public, 导致了了open_basedir指向到了public目录, 要给他该域名的访问权限
修改apache/conf/vhost 对应域名 域名.conf配置文件
将
php_admin_value open_basedir "/home/wwwroot/www.xxxxx.com/public:/tmp/:/var/tmp/:/proc/"
修改为
php_admin_value open_basedir "/home/wwwroot/www.xxxxxx.com:/tmp/:/var/tmp/:/proc/"
修改apache/conf/vhost 对应域名 域名.conf配置文件
将
php_admin_value open_basedir "/home/wwwroot/www.xxxxx.com/public:/tmp/:/var/tmp/:/proc/"
修改为
php_admin_value open_basedir "/home/wwwroot/www.xxxxxx.com:/tmp/:/var/tmp/:/proc/"
相关文章推荐
- lnmp 环境require(): open_basedir restriction in effect 错误
- 使用APMServ配置zend framework时出现open_basedir restriction in effect问题
- Warning: require() open_basedir restriction in effect. 类似问题解决方法
- open_basedir restriction in effect,解决php引入文件权限问题
- lnmp 环境执行yii项目出错 require(): open_basedir restriction in effect 错误
- php错误提示 open_basedir restriction in effect 解决
- phpnow:open_basedir restriction in effect;file is not within the allowed path的解决办法
- open_basedir restriction in effect错误的解决办法
- phpnow:open_basedir restriction in effect;file is not within the allowed path的解决办法
- Laravel PhpSpreadsheet open_basedir restriction in effect错误
- open_basedir restriction in effect
- open_basedir restriction in effect错误的解决办法
- open_basedir restriction in effect的错误及其解决办法
- Warning: require(): open_basedir restriction in effect. File(/home/framework/laravel/
- linux 下出现:open_basedir restriction in effect
- require(): open_basedir restriction in effect. File
- open_basedir restriction in effect. File() is not within the allowed path(s)
- open_basedir restriction in effect的错误及其解决办法
- PHPExcel 出现open_basedir restriction in effect的解决办法
- php错误提示 open_basedir restriction in effect 解决