Upgrading to PHP 7.2

Category: FAQ | Last modified: September 10, 2020

Why is an upgrade to PHP 7.2 necessary?

PHP 7.0, which all customer sites on the Pressable platform run on, has a planned end of life at the end of 2018. This means that PHP will no longer provide security support for version 7.0. For security purposes, we intend to upgrade customer sites to use PHP 7.2 in order to get back onto a supported version of PHP.

Will the upgrade cause issues with my site?

There exists the possibility that some plugin or theme on your site has code that is incompatible with PHP 7.2 that could cause issues. We are providing a scanning tool for users to see if any plugins or themes are affected by the PHP 7.2 update.

How do I use the PHP 7.2 Scanning Tool?

Log in to your https://my.pressable.com panel and click into the “Settings” for any site you would like to run the scan on. Click on the “PHP Report” icon to reach the report page. From here, click on “Run PHP Compatibility Report” to start the scanning process.

The scanning process may take a few minutes, but once it is finished, you will be presented with a list of notices where we have detected incompatibilities or issues between your site and PHP 7.2.

You can act on these notices by updating the plugins or themes that are associated with the listings.

I’ve updated all of my plugins and themes, but the scanner still shows me incompatibilities. What should I do?

The case may be the that plugin or theme that is being flagged has unused code that is incompatible or code that is in place for the purpose of the plugin remaining compitable with an older version of PHP. If either of these are the case, then no further action is required on your part.

Notices on their own are not an indicator that your site will break or function improperly, they are simply a way of flagging code for older versions of PHP.

If you are unsure if this is the case, you might consider getting in touch with our help desk to see if the upgrade will affect your site negatively.

What can I do to ensure compatibility?

The best way to ensure compatibility is to keep your plugins and themes up to date.

Can I stay on PHP 7.0?

All sites will be required to upgrade to 7.2. There are currently no plans to allow sites to stay on an older version of PHP.

When will my site be upgraded to PHP 7.2?

The plan is to upgrade all customer sites to PHP 7.2 on April 3rd, 2019.

Can I upgrade my site to PHP 7.2 early?

Yes, you can upgrade your site to PHP 7.2 early by navigating to the “Settings” page of a site that you have on our system. At the top of the page, there is a notice with a button to upgrade to PHP 7.2.

Can I downgrade my site back to 7.0 if I discover issues with the early upgrade?

You can downgrade your site back to PHP 7.0 before April 3rd, 2019 if your early upgrade has issues. A downgrade will be processed by clicking the “downgrade” link net to the PHP Version line under “Site Info” in your site’s settings page.

Any sites downgraded to PHP 7.0 will still be upgraded back to PHP 7.2 on April 3rd, 2019.

What is the upgrade process like?

There is no action required on your part. The upgrade process will take place completely by us.

An Automattic Invention A family of WordPress solutions.