宝塔安装后报错

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 后还是这个错误

路漫漫其修远兮,吾将上下而求索
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 6

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

file

3年前 评论
daichongweb 3年前

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

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

已经composer install了

3年前 评论

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

3年前 评论

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

3年前 评论

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

但还是习惯 apt 安装 LNMP

2年前 评论

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