PHP 8.0 introduces many new features including Just In Time (JIT), type juggling, named arguments, and union types. Don’t worry. PHP 7.4 will be actively supported until the end of 2021. This gives website owners plenty of time to upgrade your server PHP version for top performance and security.
Read more about PHP 8.0 features at PHP.net.
As stated in our PHP 8.0 overview linked above, the challenge will be making sure your web applications are fully compatible. Below we’ll cover:
- How to Install PHP 8.0
- What Supports PHP 8.0
How to Install PHP 8.0
PHP 8.0 and related extensions are available for:
- CentOS 7 Shared Hosting (e.g. ecbiz###.inmotionhosting.com server hostnames)
- UltraStack Shared Hosting (ngx###.inmotionhosting.com server hostnames)
The number after
vz indicates whether you’re using CentOS 7 or 6.
CentOS 7 users can select PHP 8.0 from cPanel MultiPHP Manager as of February 25, 2021.
Managed VPS / Dedicated Server Hosting
PHP 8.0 and related extensions will be available for all cPanel-managed VPS and dedicated server customers using CentOS 7.
Terminal users can log into SSH and use multiple commands to retrieve the CentOS version depending on your user privileges:
The number after
vz indicates CentOS 7 or 6.
Root (administrative) user or user with
The benefit of seeing multiple options is that one will likely become the most memorable for you at some point.
CentOS 7 cPanel server administrators can install the latest version of PHP in WHM with EasyApache 4. Then, you can set the default server PHP version and modify the PHP version for individual websites with MultiPHP Manager and MultiPHP INI Editor respectively.
Cloud Server Hosting
What Supports PHP 8.0
Here’s the latest on PHP 8.0 support from the most popular self-hosted content management systems (CMSs).
Magento does not support PHP 8.0 as of February 2021.