Any updated Symfony Deploy guide?

Posted November 19, 2016 4.4k views
PHPLAMP StackPHP FrameworksDeploymentUbuntu 16.04


I have a symfony web app in a git repository. The app is configured to work with a DB i have on another server.
I want to deploy on a droplet here.
I found the guide here:

However, I chose Ubuntu 16.04 and the LAMP it installed has PHP7. The guide is for Symfony 2 (my app is on Symfony 3), Ubuntu 14.04 and LAMP with PHP5.
Could anyone point to an updated guide? OR what would be the differences to make it work for what I have?
Should I get Ubuntu 14.04 and PHP5 instead on my VPS?

Thanks in advance!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

We do not yet have an updated tutorial for Symfony 3 on Ubuntu 16.04. In general with PHP applications/frameworks the following changes will often work.

In package names, replace php5 with php7.0 (ex. php5-curl > php7.0-curl). There shouldn’t be a lot of changes in the DB setup and other steps.

If you’d prefer not to wing it in that manner, you can be assured that Ubuntu 14.04 LTS will continue to be updated receive security fixes until 2019.