问题:
Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/www..com/index.php) is not within the allowed path(s): (/www/wwwroot/www.xxx.com/mobile/:/tmp/) in /home/wwwroot/www.xxx.com/mobile/index.php on line 10 Warning: require(/home/wwwroot/www.xxx.com/index.php): failed to open stream: Operation not permitted in /home/wwwroot/www.xxx.com/mobile/index.php on line 10 Fatal error: require(): Failed opening required '../index.php' (include_path='.:') in /home/wwwroot/www.xxx.com/mobile/index.php on line 10 出现这个是什么意思答案:
你这个操作是在绑定移动端域名吗??
对的
目录访问权限不够。删除user.ini文件
处理了,还是不对
你主网站目路径,/home/wwwroot/www..com/user.ini删掉,然后/home/wwwroot/www..com/mobile/user.ini也删掉
参考文档:《.user.ini 作用和配置》
@迅睿框架技术-陈泽希:感谢,可以了。