当我尝试使用 Capifony 部署 Symfony2 应用程序时出现以下错误:
“/path/cap/myapp/releases/20121227024938/app/config/parameters.ini”文件无效。
这就是parameters.ini对我的样子:
; These parameters can be imported into other config files
; by enclosing the key with % (like %database_user%)
; Comments start with ';', as in php.ini
[parameters]
database_driver = pdo_mysql
database_host = localhost
database_name = symfony
database_user = root
mailer_transport = smtp
mailer_host = localhost
locale = en
secret = ThisTokenIsNotSoSecretChangeIt
直到最近,我才能正常部署。parameters.ini 文件只是从示例中复制而来。可能是什么交易?