VPS侦探论坛

 找回密码
 注册
查看: 3545|回复: 1

LNMP1.3版本 php.ini注释了open_basedir,对其他文件操作却依旧被拒绝

[复制链接]
发表于 2016-9-6 17:07:06 | 显示全部楼层 |阅读模式

我用网上lnmp1.3版本的整合包,默认php.ini里file:///

;open_basedir = /data/:/home/wwwroot/

这个注释了,但是我操作非项目目录的时候还是会报

[06-Sep-2016 16:43:06 PRC] PHP Warning:  file_get_contents(): open_basedir restriction in effect. File(/data/glory_cfg/client/clientConfig.json) is not within the allowed path(s): (/home/wwwroot/:/tmp/:/proc/) in /home/wwwroot/release/client/getClientCfg.php on line 11


file:///,有谁遇到过这个问题吗,算是lnmp1.3的bug么?
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2016-9-7 09:34:36 | 显示全部楼层


错误提示里显示没生效,清空.user.ini ,重启一下php-fpm
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-20 18:17 , Processed in 0.025217 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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