VPS侦探论坛

 找回密码
 注册
查看: 4022|回复: 4

Warning: require(): open_basedir restriction in effect. File

[复制链接]
发表于 2019-3-30 13:21:17 | 显示全部楼层 |阅读模式


我确认我删除后了 user.ini  
而且我是用软链方式 y2.com -> /bakup/public/y2.com/web


nginx配置
      3         listen 80;
      4         #listen [::]:80;
      5         server_name y2.com ;
      6         index index.html index.htm index.php default.html default.htm default.php;
      7         root  /home/wwwroot/y2.com;


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2019-3-30 13:29:00 | 显示全部楼层


已解决,参考此贴https://bbs.vpser.net/thread-17569-1-1.html


补充内容 (2019-3-30 13:30):
注释掉/usr/local/nginx/conf/fastcgi.conf 里面的

fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/tmp/:/proc/";

一整行都注释掉
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-5-29 16:22:27 | 显示全部楼层

今天又遇到这问题,刚好在论坛搜到这帖子   又解决了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-1 15:05:47 | 显示全部楼层



感谢大佬,我也遇到了。改 .user.ini 都不好使
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-5-11 18:35:49 | 显示全部楼层



今天又遇到这问题  又解决了

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-7-27 08:18 , Processed in 0.028399 second(s), 22 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表