By rollandb
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!
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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.