用户
 找回密码
 入住 CI 中国社区
搜索
查看: 2138|回复: 1
收起左侧

[讨论/交流] 新建的虚拟机报错 realpath(): open_basedir restriction in effect

[复制链接]
发表于 2017-11-14 17:27:06 | 显示全部楼层 |阅读模式
具体报错如下:

Warning: realpath(): open_basedir restriction in effect. File(/home/wwwroot/lxt.cncn.net/system) is not within the allowed path(s): (/home/wwwroot/lxt.cncn.net/webapp/:/tmp/:/proc/) in /home/wwwroot/lxt.cncn.net/webapp/index.php on line 208

Warning: is_dir(): open_basedir restriction in effect. File(../system/) is not within the allowed path(s): (/home/wwwroot/lxt.cncn.net/webapp/:/tmp/:/proc/) in /home/wwwroot/lxt.cncn.net/webapp/index.php on line 223
Your system folder path does not appear to be set correctly. Please open the following file and correct this: index.php

请教下这个错误怎么解决????
发表于 2017-11-14 19:40:10 | 显示全部楼层
用 Wamp,别自己装 PHP 环境

本版积分规则