I ran into this issue today. After upgrading some PHP software from 7.0 (which is no longer in ports) to 7.1, and then 7.2, I was getting segmentation faults (SIGSEGV) when trying to load any PHP file. Reverting to PHP 7.0 isn't possible (via ports/pkgs) so I tested reverting to PHP 5.6 and that restored functionality. But it's PHP 5.6, so I kept at it. Finally I checked the ioncube site and found that 10.3.1 is available with this note: "28th Dec 2018 - Loader version 10.3.1, Fix for potential issue running code on PHP 7.1 and 7.2." So I bumped the version in /usr/ports/devel/ioncube to 10.3.1, added these two lines to the distinfo file, installed the newer version, and it works! SHA256 (ioncube/10.3.1/ioncube_loaders_fre_11_x86-64.tar.gz) = 26c5a3997138865128b53315c4edbcc2c9117cb1fd57d14747b01b109c949461 SIZE (ioncube/10.3.1/ioncube_loaders_fre_11_x86-64.tar.gz) = 12021094
Created attachment 200591 [details] version bump to 10.3.1
Thank you for the report Matt Can you provide a link to the upstream PR/issue/commit(s) that address this issue?
The closest public thing I've seen is: http://www.ioncube.com/news.php
Created attachment 200638 [details] ioncube-10.3.1-patch - Update port to 10.3.1
Created attachment 200639 [details] ioncube-10.3.1-patch update to 10.3.1
A commit references this bug: Author: tobik Date: Mon Dec 31 05:43:53 UTC 2018 New revision: 488756 URL: https://svnweb.freebsd.org/changeset/ports/488756 Log: devel/ioncube: Update to 10.3.1 - Fix for potential crashes with PHP 7.1 and 7.2 PR: 234478 Reported by: matt@tnpi.net Submitted by: Svyatoslav Lempert <svyatoslav.lempert@gmail.com> (maintainer) Changes: head/devel/ioncube/Makefile head/devel/ioncube/distinfo