答案 0 :(得分:0)
您的 Laravel 应用程序似乎已添加到您的网络服务器的文档根目录中。您应该无法直接在浏览器中访问该文件。
您的文档根目录应设置为 Laravel 项目文件夹内的 public/
文件夹,使 index.php
成为您应用程序的唯一访问点。
有关详细信息,请参阅 https://laravel.com/docs/8.x/deployment#server-configuration 和 https://laravel.com/docs/8.x/structure#the-public-directory。