打印

[Nginx] Fatal error

Fatal error

1.修改了php.ini 中的 display_errors,把 Off改为了 On报错是:Warning: require(): open_basedir restriction in effect. File(/home/wwwroot/thinkphp/start.php) is not within the allowed path(s): (/home/wwwroot/zj-server/public:/tmp/:/proc/) in /home/wwwroot//public/index.php on line 22 Warning: require(/home/wwwroot//thinkphp/start.php): failed to open stream: Operation not permitted in /home/wwwroot//public/index.php on line 22 Fatal error: require(): Failed opening required '/home/wwwroot//public/../thinkphp/start.php' (include_path='.:/usr/local/php/lib/php') in /home/wwwroot//public/index.php on line 22 2.修改我的域名.conf 文件 添加了fastcgi_param PHP_VALUE "open_basedir=/home/wwwroot/框架根目录/:/tmp/:/proc/";Fatal error: Call to undefined function app\lib\exception\config() in /home/wwwroot/zj-server/application/lib/exception/ExceptionHandler.php on line 38 Fatal error: Call to undefined function app\lib\exception\config() in /home/wwwroot/zj-server/application/lib/exception/ExceptionHandler.php on line 38 小弟烦请各位大神指教一二,在此感激不尽!!!

TOP

这是1个问题,按"常见问题"说明移除防跨目录设置而不是按你自己的想法修改

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

军哥,这该如何去修改呢?

TOP