我试图获得Symfony 4设置.我按照此处列出的教程进行了操作:https://symfony.com/doc/4.0/setup.html
我没有改变任何东西,作曲家似乎抓住了所有必要的依赖.我之前运行PHP进行检查,没有任何重要的缺失:
我真的被困在这里,因为这段代码应该正常工作(它适用于我认识的任何人)并且它来自一个可以检查它的来源.
Update: Result from console from running router debug:
-------------------------- -------- -------- ------ -----------------------------------
Name Method Scheme Host Path
-------------------------- -------- -------- ------ -----------------------------------
_twig_error_test ANY ANY ANY /_error/{code}.{_format}
_wdt ANY ANY ANY /_wdt/{token}
_profiler_home ANY ANY ANY /_profiler/
_profiler_search ANY ANY ANY /_profiler/search
_profiler_search_bar ANY ANY ANY /_profiler/search_bar
_profiler_phpinfo ANY ANY ANY /_profiler/phpinfo
_profiler_search_results ANY ANY ANY /_profiler/{token}/search/results
_profiler_open_file ANY ANY ANY /_profiler/open
_profiler ANY ANY ANY /_profiler/{token}
_profiler_router ANY ANY ANY …Run Code Online (Sandbox Code Playgroud)