Upgrade PHP 5.6 to 7.2
Linode
Linode Staff
I am currently using PHP version PHP 5.6, and I want to upgrade to PHP version 7.2.21. Can you advise me on how to do this?
1 Reply
tpino
Linode Staff
I gathered some resources to help you upgrade PHP 5.6 to 7.2.
- Migrating from PHP 5.6.x to PHP 7.0.x
- How to Install or Upgrade to PHP 7 on CentOS 7 Linux Server
- How to Install PHP 7 in CentOS 6 and 7
- Debian - Upgrade PHP from Version 5.6 to 7.2
- How To Install PHP (7.2, 7.1 & 5.6) on Debian 8 Jessie
- How To Install PHP (7.3, 7.2 & 5.6) on Debian 9 Stretch
The first link is from php.net and contains all of the changes with this upgrade path - including backward incompatible changes that I would recommend going over.