Support » Plugin: Members » Preparation for PHP 5.6+ only

  • Plugin Author Justin Tadlock

    (@greenshady)



    In Members 2.0.0, I bumped the minimum PHP version to 5.3+. This was just the beginning. When I release Members 3.0.0 sometime later this year, I plan on bumping the minimum requirement to PHP 5.6+.

    Why the change?

    Primarily, because I want to use modern (relatively speaking) development tools. As a developer, it makes my job a lot harder to write code for outdated PHP versions. With newer versions of PHP, it’s much easier to code some of the things that I need to do in a more complex plugin such as Members.

    PHP version 5.5 reached End of Life (EOL) in 2016. PHP version 5.6 is still supported and maintained with security updates. So, that’s the version we’re moving to.

    I’d prefer it if everyone were on PHP 7+, but that’s not reality. I think we can manage 5.6+.

    How to find your PHP version:

    The Display PHP Version plugin will show you which version you’re on: https://wordpress.org/plugins/display-php-version/

    You should see a number like PHP 5.x.x. As long as that number is greater than 5.6, you’ll be good to go when Members 3.0.0 launches.

    What if I’m on an older PHP version?

    You need to talk to your Web host now. It’s inexcusable for any Web host in 2018 to be supporting versions of PHP older than 5.6.

    Sometimes, depending on the Web host, you can simply click a button or two to upgrade. This is going to depend on your host. So, check their docs.

    If there’s no option to upgrade, talk to them via their support channels. You’re paying them good money and should expect at least half-decent service. If they don’t upgrade your PHP version, it’s time to start shopping around for a better host.

    Also, while you’re at it, ask for an upgrade to PHP 7.2, which was released in November 2017.

    PHP info:

    If you want to stay updated on which PHP versions are currently supported, see: http://php.net/supported-versions.php

    And, for the PHP versions that have reached End of Life: http://php.net/eol.php

  • The topic ‘Preparation for PHP 5.6+ only’ is closed to new replies.