Symfony2: No route found for “GET /lucky/number”

后端 未结 11 1265
北荒
北荒 2021-02-18 14:17

I start the tutorial (as newbie) and everythings works fine till:

http://symfony.com/doc/current/book/page_creation.html#creating-a-page-route-and-controller at step

11条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-18 15:13

    If you're using apache server with Symfony 4 (not the Symfony server) just add :

    composer require symfony/apache-pack

    Don't forget to address your Document Root to

    where/is/your/symfony/public

    in apache configuration.

提交回复
热议问题