开启失败了

lringdxq

PHP Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php) is not within the allowed path(s): (1) in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5

Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php) is not within the allowed path(s): (1) in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5
PHP Warning: require(/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php): failed to open stream: Operation not permitted in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5

Warning: require(/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php): failed to open stream: Operation not permitted in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5
PHP Fatal error: require(): Failed opening required '/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php' (include_path='.:/www/server/php/55/lib/php') in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5

Fatal error: require(): Failed opening required '/www/wwwroot/www.donghuan.ink/sjcj/thinkphp/start.php' (include_path='.:/www/server/php/55/lib/php') in /www/wwwroot/www.donghuan.ink/sjcj/server.php on line 5

1491 2 0
2个回答

码龍

好像是跨文件了 要修改php.ini里面的open_basedir 简单点就注释掉

  • 暂无评论
lringdxq

感谢,这问题解决了,然后因为我这边的框架运用了路由导致,报错请问有解决办法
截图

  • 码龍 2021-03-04

    这。。看异常信息是没有控制器。。只有查查thinkphp的文档有没有哪没配置

年代过于久远,无法发表回答
×
🔝