This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Rested on centos 5, 6, 7 | |
* Requires yum install net-tools on centos 7 | |
*/ | |
class GetAvailableIpAdresses { | |
/** | |
* @var $excludeIp array of IP's to exclude in IPV4 format eg. 127.0.0.1 | |
*/ | |
private static $excludeIp; | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: WP SMTP PHP 5.6 fix | |
Version: 1.0 | |
Author: unclego | |
Author URI: https://profiles.wordpress.org/unclego/ | |
License: GPL2 | |
Description: FIX for PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages:\nerror:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed when using PHP 5.6+ and mail server with self signed certificate | |
*/ |