I have a Symfony2 project under Debian. What are the steps to change my database to postgresql ?
Note: The question has been asked here, but it is with symfony 1.4, I believe.
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.
Install postgresql under debian:
In /etc/php5/apache2/php.ini, add: (this is in fact optional)
Change the symfony apps/config/paramters.ini file:
Relaod your project:
You’re done!
References:
Symfony documentation for configuring databases
Postgresql installation under debian