Title: php 5.6
Last modified: August 30, 2016

---

# php 5.6

 *  [Erwin](https://wordpress.org/support/users/onstudio/)
 * (@onstudio)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/php-56-58/)
 * Hi There
 * Was playing around upgrading a few WordPress installs to php 5.6 but
    getting
   the following error when trying to send the contact form:
 * Warning:
    stream_socket_enable_crypto(): Peer certificate CN=`*.mail.dreamhost.
   com' did not match expected CN=`mail.***.net.nz’ in /home/***/***/wp-includes/
   class-smtp.php on line 344
 * (*** = domain name)
 * using the following plugins:
    Gravity Forms Easy WP SMTP
 * Switching to php 5.5 solved the problem.
 * Are there any php 5.6 issues that you know of.
    Hosted on Dreamhost (who is actaually
   recommending php 5.6 nowadays)
 * Cheers
    Erwin
 * [https://wordpress.org/plugins/easy-wp-smtp/](https://wordpress.org/plugins/easy-wp-smtp/)

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

 *  [star_movie_02](https://wordpress.org/support/users/star_movie_02/)
 * (@star_movie_02)
 * [10 years ago](https://wordpress.org/support/topic/php-56-58/#post-6598851)
 * I met same problem when upgrade from php 5.4.x to 5.6.x. How can to fix it? I
   am using WP-Mail-SMTP plugin.
 *  Thread Starter [Erwin](https://wordpress.org/support/users/onstudio/)
 * (@onstudio)
 * [10 years ago](https://wordpress.org/support/topic/php-56-58/#post-6598852)
 * Actually running WP-Mail-SMTP on 5.6 and 7 without any problems now. Can’t recall
   what they solution was though. Think it was a fix on the DreamHost side…
 *  [Back to Front](https://wordpress.org/support/users/traverser11/)
 * (@traverser11)
 * [10 years ago](https://wordpress.org/support/topic/php-56-58/#post-6598857)
 * Getting the same error. Curious what the fix on server side was? Could this be
   fixed in the plugin?

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

The topic ‘php 5.6’ is closed to new replies.

 * ![](https://ps.w.org/easy-wp-smtp/assets/icon.svg?rev=3158017)
 * [Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more](https://wordpress.org/plugins/easy-wp-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-wp-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-wp-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-wp-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-wp-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-wp-smtp/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Back to Front](https://wordpress.org/support/users/traverser11/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/php-56-58/#post-6598857)
 * Status: not resolved