• Resolved icc97

    (@icc97)


    I’m using Ubuntu 14.04 LTS (supported until 2019) that has PHP 5.5.9 (which won’t change). Since v3.1.0 your plugin is PHP v5.6 only. Both WordPress and WooCommerce are still compatible with PHP 5.2.

    Our site has 47 WordPress plugins (13 WooCommerce plugins) and yours is the only one requiring PHP 5.6.

    No one using your plugin with PHP 5.5 or less can upgrade to WooCommerce v3 because then they’d have to use some unsupported hack.

    I’m guessing that you brought in the PHP 5.6 requirement to support Apple Pay?

    There aren’t that many backwards breaking changes from v5.5 to v5.6 (http://php.net/manual/en/migration56.incompatible.php) or new features (http://php.net/manual/en/migration56.new-features.php).

    So is there any way that this plugin could be made compatible with PHP 5.5 again?

    I guess there’s other options like if it’s only in the Apple Pay section then I can just install it and hope for the best. But once the requirement is 5.6 all developers working on the plugin have no need to check their code for PHP 5.5 compatibility any more.

    • This topic was modified 9 years ago by icc97.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support slash1andy

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Unfortunately, no, we aren’t going to be rolling back the version requirement. PHP 5.5 is not actively supported, and it’s a choice that our development team made to bring Stripe up to require a version that isn’t even the latest PHP (5.6 is not even receiving any updates outside of security updates). 5.5 and lower are considered end of life.

    https://secure.php.net/supported-versions.php

    If you’re interested in updating your server, there’s a new version of Ubuntu that has PHP 7 built in: LTS 16.04

    Thread Starter icc97

    (@icc97)

    Hi Andrew,

    Thanks for your reply.

    PHP 5.5 is actively supported with security patches on Ubuntu 14.04, not by PHP but by Canonical.

    https://askubuntu.com/a/527537/8989

    Yes, like most packages in Ubuntu, the security team backports security fixes, including for versions that are no longer supported by upstream.

    The Stripe PHP API only requires PHP 5.3. So where does the requirement for PHP 5.6 come from?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 5.5 compatibility’ is closed to new replies.