rollandb
By:
rollandb

Any updated Symfony Deploy guide?

November 19, 2016 78 views
PHP Frameworks PHP Deployment LAMP Stack Ubuntu 16.04

Hello,

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:
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-symfony-application-to-production-on-ubuntu-14-04

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!

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.

Have another answer? Share your knowledge.