宝塔安装后报错

Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/lrs/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/lrs/public/:/tmp/) in /www/wwwroot/lrs/public/index.php on line 24

Warning: require(/www/wwwroot/lrs/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/lrs/public/index.php on line 24

Fatal error: require(): Failed opening required ‘/www/wwwroot/lrs/public/../vendor/autoload.php’ (include_path=’.:/www/server/php/72/lib/php’) in /www/wwwroot/lrs/public/index.php on line 24

composer insatll 后还是这个错误

路漫漫其修远兮,吾将上下而求索
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 6

已经composer install了

3年前 评论

:joy: nginx 版本没对 郁闷得很

3年前 评论

把目录下的.user.ini 删掉呢

3年前 评论
Jarvis42 3年前
4ngle 3年前

把这个防跨站攻击勾去掉就可以了

file

3年前 评论
daichongweb 3年前

说实话,linux自己搭lnmp也就几条命令的事,没必要用宝塔啥的,这玩意万一有漏洞就是很大的风险。

3年前 评论

宝塔对小白确实很方便,可以操作文件,数据库,编辑代码,安装

但还是习惯 apt 安装 LNMP

2年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!