How do I upgrade PHP 7.0 to PHP 7.2

Linode Staff

I'm looking for guidance from Linode on upgrading PHP 7.0 to PHP 7.2 for Ubuntu 16.04

1 Reply

After doing a bit of research, this process seems pretty straightforward. I have included links below to some of the documentation I found to help walk you through this process.

This guide also covers Upgrading Ubuntu 16.04 to 18.04, scroll down to reach the section on upgrading PHP.

https://helgeklein.com/blog/2018/12/upgrading-ubuntu-16-04-to-18-04-php-7-0-to-7-2-for-wordpress/

https://medium.com/andrewmmc-io/upgrade-php-version-to-7-2-from-7-0-c005a0926642

As a side note, If you are concerned about running into issues following this upgrade and have Linode Backups enabled, consider deploying a recent backup to a new Linode. Afterwards, you can run the upgrade on your new Linode as a test run, working though any issues before upgrading your main Linode. Since we work on hourly billing you would only be charged for the time this additional Linode was active, just remember to delete it once you main Linode is up and running.

Restore Your Backup To A New Linode

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct