How can I Update my ubuntu server to PHP 7 ?
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!
It really depends, how did you go about performing your current PHP setup and what implementation are you using (i.e. Apache + mod_php, NGINX + PHP-FPM etc)?
–
The best way to go about it will be a manual build from the CLI where you’d download the source, run ./configure ... (where ... would expand to be a number of configuration options) and compile from the source. This gives you the most options and the maximum customization options (so that you’re not needlessly installing packages that you do not need, or extensions).
Until better instructions arrive from the amazing people who write DigitalOcean tutorials, this may help. …It’s a total build (not an update) but you can decipher which portions are different from your own build, and adapt as needed. On my LEMP configuration I was able to jump right in from the heading that says “Add Zend repo and install PHP7”.
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.