• Resolved LandyVlad

    (@landyvlad)


    What PHP versions are compatible with wp mail SMTP please?

    In the wordpress repository it states:

    “Requires PHP Version: 5.3 or higher”

    Does that imply that it’s compatible all the way to 7.2?

    Perhaps stating the upper as well as lower compatible versions would be an idea?

    I’m looking to go to PHP7.0 specifically at this time.

    Thanks

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • Working fine with PHP 7.2 on my setup.

    Plugin Author Slava Abakumov

    (@slaffik)

    Yes, compatible all the way to PHP 7.2. Most likely 7.3 as well (released today), but I will test that specifically later this month.

    Hey, PHP 7.0 is no more supported, not even for security patches. Please consider upgrading to PHP 7.2 – the only recommended version by WordPress and WPForms.

    Thread Starter LandyVlad

    (@landyvlad)

    Thank you.

    7.0 not supported already?

    Seems to be heaps of people still using 5.x.x ! They must be WAY out of date then?

    Looks like this does not support PHP 7.2:

    FILE: /nas/content/live/riversidestage/wp-content/plugins/wp-mail-smtp/vendor/phpseclib/phpseclib/phpseclib/Crypt/Random.php
    ——————————————————————————————————————————————————-
    FOUND 5 ERRORS AFFECTING 2 LINES
    ——————————————————————————————————————————————————-
    69 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
    69 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
    108 | ERROR | Function mcrypt_create_iv() is deprecated since PHP 7.1 and removed since PHP 7.2; Use random_bytes() or OpenSSL instead
    108 | ERROR | Extension ‘mcrypt’ is deprecated since PHP 7.1 and removed since PHP 7.2; Use openssl (preferred) or pecl/mcrypt once available instead
    108 | ERROR | The constant “MCRYPT_DEV_URANDOM” is deprecated since PHP 7.1 and removed since PHP 7.2
    ——————————————————————————————————————————————————-

    Please can this be resolved.

    The Random-class checks the PHP version and won’t use mcrypt if PHP >= 7 or mcrypt is not loaded.

    So you can ignore those errors.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP version compatability’ is closed to new replies.