September 26, 2018 by Paul G. | Blog, Shield Pro

Announcement: Dropping Support For PHP 5.2/5.3 From Shield Version 7.0+

Shield Image

[2022-11-1] Update: As of Shield v17 we’re dropping support for PHP 7.0 and 7.1. In order to run Shield v17, your web hosting will need to run at least PHP 7.2+

[2020-4-20] Update: As of Shield v10, we’ve moved to dropping support for all PHP 5 versions. To run the latest security features on your site, you’ll need to upgrade to PHP 7.0+.

Earlier this year we announced that we were dropping support for PHP 5.2 for all new features added to Shield Security.

This change actually didn’t pose a problem for anyone running older versions of PHP as all pre-existing features were still supported. But it made our work in development and support far easier and faster.

But, we’ve now realised that the current situation is untenable. In our latest Shield release, we accidentally allowed newer PHP code to be accessible on installations running PHP 5.2.

This crashed some of the few sites that were still running the much older PHP.

The time taken to test and vet code for these older versions of PHP is disproportionately large, compared to the number of sites that actually operate on them.

Supporting older, dangerously outdated platforms is placing a huge burden on us in development and testing, for little or no payoff or benefit for the overwhelming majority of our clients and customers.

We’ve decided that the the hurdles that we must overcome are too costly.

Starting from version 7.0, Shield Security (due early November) will drop support entirely PHP versions less than 5.4.0.

Who’s Affected?

At the time of writing, less than 9% of WordPress sites are running PHP less than v5.4.

PHP WordPress Usage Statistics 2018-11
PHP WordPress Usage Statistics 2018-11

When we decided to drop support for PHP 5.2 for new features around this time last year, the number was over 11%. So we’re moving in the right direction, if a little slowly.

From this chart, only 18% of WordPress websites are running an actively supported version of PHP (i.e. v7.1+)

What Are Your Options?

By now, all major web hosting companies are supporting PHP as far up as v7.2. We’re not recommending you go that far immediately, but chances are high you could switch your PHP to at least 5.4.0 without any issues.

The best place to start is your web host. Contact their support and find out what your options are. We’ve seen hosts provide a PHP Selector through cPanel that lets you easily switch your PHP version.

We recommend you switch up your PHP versions in stages. That is, move it up a version and test your site. If all seems to be working, leave it for a week and monitor it closely. Then, if you’re happy with it, adjust the version upwards once again and repeat the process until you can go as high as you can without having any errors.

In this way you’ve gradually upgraded your PHP installation in a safe, incremental way, without having to call on the expertise of a developer.

For more on this, have a look at our Ask Paulie Anything episode here.

What If You Can’t Upgrade?

If you find can’t upgrade to at least PHP 5.4, then chances are high that your site is really very old, or is hosted on outdated web hosting.

All we can suggest here is that you may need to invest the time (and money) to bring your site up to modern hosting standards. This is a great investment in both your site speed and your site security.

If your web host is holding you back, don’t feel that you’re bound to them for life. Perhaps it’s time to explore other hosting options – many hosts will even migrate you for free as part of their package.

If you think about it, how often do you upgrade your phone, your PC, or your tablet? Quite often for most of us.  Why should website hosting be any different? If you’re running on PHP 5.2, your site is running on software that was built before the very 1st iPhone was ever released.

Questions or Comments?

We know that for a small minority of you, this is likely to cause frustration. But we can only hope you understand our position.

PHP WordPress Usage Statistics 2018-11

There is no good reason to stick to old software for our websites, and so many more reasons to start developing our software for a modern platform of performance and security.

If you have any questions or comments, please let us know.

Hello dear reader!

If you want to level-up your WordPress security with ShieldPRO, click to get started today. (risk-free, with our no-quibble 14-day satisfaction promise!)

You'll get all PRO features, including AI Malware Scanning, WP Config File Protection, Plugin and Theme File Guard, import/export, exclusive customer support, and much, much more.

We'd be honoured to have you as a member, and look forward to serving you during your journey towards powerful, WordPress security.

Try ShieldPRO Today →

ShieldPRO Testimonials
@gheban's Gravatar @gheban

Great Plugin

Simple, yet powerful and easy to use!!

@tamolesewoo's Gravatar @tamolesewoo

This is a cool plugin

Brilliant protection, considering it’s all free. Excellent.

@ladysb's Gravatar @ladysb

Excellent security free plugin . Highly recommend it

i am very much happy with the whole functionality of the Shield. First of all it is very well documented and for newbies like me this is a plus! it guides you step by step to configure it and even if you are not sure about turning on an option…

@gmaximovitch's Gravatar @gmaximovitch

Use it on about 40 websites

Currently using the plugin on about 40 sites. Simple, easy to manage, effective and works with WordPress updates. This is one of the few plugins that I have set to auto update.

Leave a Comment

Your email address will not be published. Required fields are marked *

Click to access the login or register cheese