Title: PHP version compatability
Last modified: December 6, 2018

---

# PHP version compatability

 *  Resolved [LandyVlad](https://wordpress.org/support/users/landyvlad/)
 * (@landyvlad)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-version-compatability-7/)
 * 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)

 *  [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10955144)
 * Working fine with PHP 7.2 on my setup.
 *  Plugin Author [Slava Abakumov](https://wordpress.org/support/users/slaffik/)
 * (@slaffik)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10955387)
 * 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](https://wordpress.org/support/users/landyvlad/)
 * (@landyvlad)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10957147)
 * 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?
 *  [Jonathan](https://wordpress.org/support/users/jag1989/)
 * (@jag1989)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10974636)
 * 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.
 *  [Soft79](https://wordpress.org/support/users/josk79/)
 * (@josk79)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10974730)
 * 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.

 * ![](https://ps.w.org/wp-mail-smtp/assets/icon-256x256.png?rev=1755440)
 * [WP Mail SMTP by WPForms - The Most Popular SMTP and Email Log Plugin](https://wordpress.org/plugins/wp-mail-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-mail-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mail-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mail-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mail-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mail-smtp/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [PHP 7.0](https://wordpress.org/support/topic-tag/php-7-0/)
 * [php compatability](https://wordpress.org/support/topic-tag/php-compatability/)

 * 5 replies
 * 4 participants
 * Last reply from: [Soft79](https://wordpress.org/support/users/josk79/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/php-version-compatability-7/#post-10974730)
 * Status: resolved