I am migrating from symfony1 to symfony2, I have hard time implementing propel behaviors. Where do I actually have the propel.ini in symfony2?
Well in sf1.4, it was inside root config directory. How about symfony2?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Propel ORM Symfony2 page says this:
So I believe you can come close to the Symfony1 behaviour by creating
app/config/propel.ini, but the more idiomatic way is to useapp/config/config.ymlas that page illustrates.Caveat: I haven’t used Propel with Symfony2, so this answer is solely based on the manual.