Here's a simple update for PHP 5.6.30 and 7.0.15 The 7.0.15 fixes quite a few serialize bugs.
OK? martijn@ Index: ./5.6//Makefile =================================================================== RCS file: /cvs/ports/lang/php/5.6/Makefile,v retrieving revision 1.42 diff -u -p -r1.42 Makefile --- ./5.6//Makefile 19 Dec 2016 20:35:09 -0000 1.42 +++ ./5.6//Makefile 20 Jan 2017 07:25:07 -0000 @@ -1,7 +1,7 @@ # $OpenBSD: Makefile,v 1.42 2016/12/19 20:35:09 martijn Exp $ PV= 5.6 -V= ${PV}.29 +V= ${PV}.30 WANTLIB-main+= stdc++ ncurses readline Index: ./5.6//distinfo =================================================================== RCS file: /cvs/ports/lang/php/5.6/distinfo,v retrieving revision 1.25 diff -u -p -r1.25 distinfo --- ./5.6//distinfo 19 Dec 2016 20:35:09 -0000 1.25 +++ ./5.6//distinfo 20 Jan 2017 07:25:07 -0000 @@ -1,4 +1,4 @@ -SHA256 (php-5.6.29.tar.bz2) = SZuETIqnvgZMERaS5RoJO6lOVNLZq7AecOp2GDoYJbs= +SHA256 (php-5.6.30.tar.bz2) = oQXCk/odv/EYtbDKdAKebEYfjHj0mzN6Kpi+njLCeQY= SHA256 (suhosin-0.9.38.tar.gz) = wC12xOfOd3kQo3wYGBy2f9npDv4BB/6rPeMTG1+JvOo= -SIZE (php-5.6.29.tar.bz2) = 14990883 +SIZE (php-5.6.30.tar.bz2) = 15011816 SIZE (suhosin-0.9.38.tar.gz) = 122800 Index: ./5.6//patches/patch-main_php_ini_c =================================================================== RCS file: /cvs/ports/lang/php/5.6/patches/patch-main_php_ini_c,v retrieving revision 1.3 diff -u -p -r1.3 patch-main_php_ini_c --- ./5.6//patches/patch-main_php_ini_c 19 Dec 2016 20:35:09 -0000 1.3 +++ ./5.6//patches/patch-main_php_ini_c 20 Jan 2017 07:25:07 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-main_php_ini_c,v 1.3 2016/12/19 20:35:09 martijn Exp $ ---- main/php_ini.c.orig.port Thu Dec 8 07:29:33 2016 -+++ main/php_ini.c Fri Dec 9 14:15:51 2016 +--- main/php_ini.c.orig.port Thu Jan 19 01:17:47 2017 ++++ main/php_ini.c Fri Jan 20 07:35:15 2017 @@ -576,7 +576,7 @@ int php_init_config(TSRMLS_D) /* If still no ini file found, search for php.ini file in search path */ Index: ./7.0//Makefile =================================================================== RCS file: /cvs/ports/lang/php/7.0/Makefile,v retrieving revision 1.24 diff -u -p -r1.24 Makefile --- ./7.0//Makefile 19 Dec 2016 20:35:47 -0000 1.24 +++ ./7.0//Makefile 20 Jan 2017 07:25:20 -0000 @@ -3,7 +3,7 @@ BROKEN-sparc64= SIGBUS during phar generation PV= 7.0 -V= ${PV}.14 +V= ${PV}.15 WANTLIB-main+= stdc++ ncurses readline BUILD_DEPENDS+= devel/bison Index: ./7.0//distinfo =================================================================== RCS file: /cvs/ports/lang/php/7.0/distinfo,v retrieving revision 1.13 diff -u -p -r1.13 distinfo --- ./7.0//distinfo 19 Dec 2016 20:35:47 -0000 1.13 +++ ./7.0//distinfo 20 Jan 2017 07:25:20 -0000 @@ -1,4 +1,4 @@ -SHA256 (php-7.0.14.tar.bz2) = +8Q2mg1CtV/RznXrTz0XsBLadUpnVn2OMoj7+7dJBTQ= +SHA256 (php-7.0.15.tar.bz2) = qMj5RzNWg/pt0bdEPtcPKkK8M+i2whXxOROM7onkfdk= SHA256 (suhosin-0.9.38.tar.gz) = wC12xOfOd3kQo3wYGBy2f9npDv4BB/6rPeMTG1+JvOo= -SIZE (php-7.0.14.tar.bz2) = 15239441 +SIZE (php-7.0.15.tar.bz2) = 15305062 SIZE (suhosin-0.9.38.tar.gz) = 122800 Index: ./7.0//patches/patch-main_php_ini_c =================================================================== RCS file: /cvs/ports/lang/php/7.0/patches/patch-main_php_ini_c,v retrieving revision 1.2 diff -u -p -r1.2 patch-main_php_ini_c --- ./7.0//patches/patch-main_php_ini_c 19 Dec 2016 20:35:47 -0000 1.2 +++ ./7.0//patches/patch-main_php_ini_c 20 Jan 2017 07:25:20 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-main_php_ini_c,v 1.2 2016/12/19 20:35:47 martijn Exp $ ---- main/php_ini.c.orig.port Tue Dec 6 19:05:07 2016 -+++ main/php_ini.c Fri Dec 9 14:17:20 2016 +--- main/php_ini.c.orig.port Tue Jan 17 12:53:05 2017 ++++ main/php_ini.c Fri Jan 20 07:38:39 2017 @@ -572,7 +572,7 @@ int php_init_config(void) /* If still no ini file found, search for php.ini file in search path */