Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
symfony在/Frameworks文件夹,根路径在Apache2/htdocs/,如何部署symfony项目?我是否需要将 symfony 文件夹复制到 htdocs,像 localhost/ 一样考虑 Apache2/htdocs/?
您可以将 Symfony 文件夹复制到 htdocs 文件夹中,并将 Apache 设置为从 Symfony 包含 app.php 文件的“web”文件夹中提供服务。你需要在这里做一些Apache配置,你可以查看这篇文章