我只是在 localhost 中使用带有数据库(mysql)的 symfony 3 创建我的应用程序,并且我有 domainName 那么如何配置我的数据库并配置默认路由(因为在 localhost 我用 nameproject/web/app_dev.php 配置了我的网站
谢谢你
If I understand correctly, you've configured your webserver to use app_dev.php
as the default IndexFile
. Use app.php
instead and you should be on your way.
If you use different database settings on you dev and live environments, you should be able to set those in your /app/config/parameters.yml
file.