改了php.ini中的open_basedir仍报错open_basedir restriction in effect

付费 2017-04-11

报错如下:
[error] 9342#0: *1 FastCGI sent in stderr: "PHP message: PHP Warning : open_basedir restriction in effect. File(/index.php) is not within the allowed path(s): (/wwwroot/public/:/tmp/:/proc/) ... on line 31。
(环境 lnmp1.2及以上 LAMP 1.2以上)

解决办法如下:


登陆后阅读全文
阅读 8078 付费 96 有用 63 没用 8 收藏 12 分享



作者声明:本篇文章系本人原创,欢迎分享,但未经许可,谢绝转载。

0 条留言

赛蓝翔的头像

赛蓝翔

PHP开发一枚

相关文章

Linux php-fpm报错:allow_call_time_pass_reference

如何配置php显示错误信息?

6款程序员必备的开源中文汉字拼音转换及处理工具 (PHP Java .net)

PHP Fatal error: Allowed memory size of bytes exhausted

Linux 服务器如何隐藏 PHP 版本号?

PHP 程序无法识别短标签

原来这条命令可以让我们快速找到php.ini的位置

php call_user_fun Call-time pass-by-reference has been remov

php.ini 设置了 error_log 为什么不生效?

Linux下如何查看Nginx Apache MySQL PHP 的编译参数?

他的文章

微信跳一跳刷分攻略

改了php.ini中的open_basedir仍报错open_basedir restriction in effect

推荐 | PHP WEB消息推送框架 web-msg-sender (PHPSocket.IO)

如何准确判断请求是不是搜索引擎爬虫(蜘蛛)发出的请求?(php window linux)

PHP Warning: feof() expects parameter 1 to be resource, null

php Warning: A non-numeric value encountered in

原来这条命令可以让我们快速找到php.ini的位置

换成https后,网站还是没有安全标志或安全小锁?

在百度站长平台如何将http换成https

php file_get_contents() 如何伪造发送 referer?

手机扫一扫
分享文章