更新时间:2023-11-17 12:31:16
app.php
和 app_dev.php
脚本是 Symfony 应用程序的入口点,它们撒谎在项目的 web/
子文件夹中 - 在这种情况下,将浏览器指向:
app.php
and app_dev.php
scripts are the entry points for Symfony apps, and they lie in web/
subfolder in the project - in this case, point your browser to:
http://localhost/PhpProject1/web/app_dev.php/hello/Ryan
.htaccess
位于 web/
文件夹中,并将任何请求重定向到:
.htaccess
comes in web/
folder, and redirects any requests to:
http://localhost/PhpProject1/web/some/path
到:
http://localhost/PhpProject1/web/app.php/some/path
在你的情况下.看看!