Any updated Symfony Deploy guide?


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!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted 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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.