Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Do not upgrade to the PHP 7.0.x version of TestRail


#1

Just in case anyone is planning on upgrading to the version of TestRail which supports PHP 7.0.x (5.4.0.3659) - we are facing an issue whereby our reports are no longer working due to an incompatibility between the email library used by TestRail and PHP 7.

If you are using Reports and they are being emailed, it is likely you will face the same problems if you upgrade to this version.

If you are not using reports / are not emailing them, you should be OK to upgrade.


#2

What are the details on what happens or your setup? We upgraded a while back and although we generally do not use the built in reports, I just tested it and it worked fine without install. We self host TR and do not do the cloud. Is there a a chance that the issue is with the hosted/cloud for some weird reason?


#3

Hi all,

Thanks for your post! Yes, there is currently an incompatibility with the email library that TestRail uses and PHP 7, and this causes emails to fail (and therefore, reports that are also configured to send emails). You can still upgrade to TestRail 5.4 using PHP 5.x and this would work as normal, as the issue is just with the PHP 7 incompatibility. This doesn’t affect TestRail Cloud as we host/manage mail services with the Cloud edition. We have plans to include a fix in the next version, or potentially a hotfix for this as it just affects a vendor library. The best place to keep up to date is on our blog, as we’ll provide an update when the fix is released:

https://blog.gurock.com/tag/testrail-release/

Hope this helps, and apologies for the inconvenience!

Regards,
Marco


#4

I am preparing to upgrade to TestRail 5.5.0.3735.
Has there been a resolution to the “Reports” email library incompatibility with php7.x?


#5

Hi John - the email compatibility issue was fixed in TestRail 5.4.1.

Cheers,
Simon


#6

After upgrading to testrail-5.5.1.3746-ion70.zip and php7.2, I see php7.2 is not supported.
I downgraded to php7.0, and Report emails are being sent.


#7

@genx Thanks for the update and glad to hear it’s working! We’re also currently reviewing support for PHP 7.2 for a future update to TestRail.