I’m getting the following error when I try to deploy my Symfony2 app with Capifony:
The
“/path/cap/myapp/releases/20121227024938/app/config/parameters.ini”
file is not valid.
This is what parameters.ini looks like for me:
; 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
I could deploy fine until recently. The parameters.ini file is just copied from the example. What could be the deal?
Since Symfony 2.1 uses
parameters.ymland notparameters.ini, I decided to just blow awayparameters.iniand any reference to it. That fixed the problem.