当前位置:论坛首页 > Windows面板 > 求助

【已解决】PHP Warning: is_file(): open_basedir restriction in effect. File

发表在 Windows面板2020-7-31 23:22 [复制链接] 2 6812

window2019系统

iis10+mysql5.6+php.5.4
新安装的网站访问时提示这个错误:


PHP Warning:  is_file(): open_basedir restriction in effect. File(D:\wwwroot\xxx.com\.env) is not within the allowed path(s): (D:/wwwroot/xxx.com/;C:/Windows/Temp/;C:/Temp/;D:/BtSoft/temp/session/) in D:\wwwroot\xxx.com\system\base.php on line 41
请问如何解决?

使用道具 举报 只看该作者 回复
发表于 2020-7-31 23:48:43 | 显示全部楼层
已经处理好了,原来是伪静态的问题
使用道具 举报 回复 支持 反对
发表于 2020-8-30 18:27:53 | 显示全部楼层
请问你是如何解决的?
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

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