Laravel 7:安装 od FTP 服务器

2022-01-09 00:00:00 installation ftp php laravel

我在我的 FTP 服务器上安装了 Laravel 7,但我收到了这条消息

I installed Laravel 7 on my FTP server, but I get this message

Parse error: syntax error, unexpected ':', expecting '{' in /vendor/symfony/polyfill-php80/bootstrap.php on line 23

当我使用 localhost 时,一切都很好.怎么了?

When I used localhost everything was fine. What is wrong?

推荐答案

Laravel 7 需要 PHP >= 7.2.5.检查服务器上安装的版本.

Laravel 7 require PHP >= 7.2.5. Check version installed on server.

相关文章