问答 / 84 / 15 / 创建于 3年前
如图
PHP 版本太低了,不支持 Laravel 7
1、开发环境是Homestead 2、做到2.6的第四步 3、右键查看源代码没有输出
@hanswong 所以第三步的时候是有报错的?
没有看到报错信息
@hanswong 在控制台中执行分别执行
curl http://shop.test
curl -I http://shop.test
看看输出什么
@hanswong 看 storage/logs 目录下的日志报什么错,顺便看看 storage 目录的权限 ll storage
ll storage
@hanswong php artisan 的命令执行都是正常的?另外你的 Homestead 是什么版本?Laravel 7 要求 PHP 7.2 以上,老版本的 Homestead 可能不支持
homestead 版本应该是homestead7?
把 public/index.php 里的内容替换成 phpinfo() 看看输出什么
我要举报该,理由是:
推荐文章: