IP-1.4.10 error sending email using SMTP (PHP 5.6)

I am having issues upgrading to from 1.4.0 to 1.5.x

I have set up a a copy of 1.5.2 on a development domain.

If i set the php version in cpanel to 5.5, my existing live version of IP-1.4.10 works just fine; but then I couldn’t install IP-1.5.2.

If i change the php version in cpanel to 5.6, IP-1.5.2 setup completes; but my existing live version of IP-1.4.10 fails to send emails.

Just to make sure sure… the only change to IP-1.4.10 is the change from php 5.5 to 5.6.

browser error message:

SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

/application/logs:

https://paste.invoiceplane.com/view/e91e3494

Although the following is not a fix for this issue, it will allow people to run multiple php versions on their web servers, especially if you use cpanel hosting.

To use php 5.5 for IP-1.4.10, as an example, add the following to the .htaccess file .

# Use PHP 5.5 as default
AddHandler application/x-httpd-php55 .php