I have tried to install the Symfony 4 on my Macbook Air by using Composer. I have used the below commands for installing and running Symfony application
composer create-project symfony/website-skeleton symfony4
cd symfony4
composer require server --dev
php bin/console server:run
And then tried to access the application in http://127.0.0.1:8000/. Below is the error message
Below image shows the error in which line and file
I am using PHP 7.2.3 and installed by using Homebrew. At the same time when I use the below command to install, Symfony welcome page appears without any error.
composer create-project symfony/skeleton symfony4
答案 0 :(得分:2)
创建新的symfony flex应用程序时,没有默认的欢迎页面,并且已经有issue和pull request。
一切正常,你没有任何页面。
答案 1 :(得分:2)
在这里,您可以阅读如何创建symfony页面:https://symfony.com/doc/current/page_creation.html