Re: [Kolab-devel] Kolab on Ubuntu 16.04: swig with support for PHP7

Javier Torres <[email protected]> Sun, 25 Dec 2016 01:22:57 +0100
Newsgroups gmane.comp.kde.devel.kolab
Message-ID <CALhEFBD4ZWHd3gyHoLCvtC0yPu_cTnUFxJ+81Qo+D0DDR7X68g__38310.0175219171$1482625419$gmane$org@mail.gmail.com>
Hi!

I have been playing around with the newest SWIG and PHP7 and I'm happy to
report that it works without issue to me. I just had to update the
libkolabxml CMakeLists.txt to pass `-php7` to swig (instead of `-php`) and
recompile libkolabxml PHP bindings. After that I switched Apache to PHP7
and everything keeps working, but in PHP7. I tested the webadmin, chwala
and all roundcube modules, and I detected no issues.

All of the tests were performed in Arch Linux, using the AUR packages for
Kolab. I already updated them to use PHP7 using swig from git master (
https://aur.archlinux.org/packages/php-kolabformat/).


Happy to help if anyone wants to try it as well,

Best,
Javier

On Wed, Nov 30, 2016 at 8:15 AM, Timotheus Pokorra <[email protected]>
wrote:

> Hello all,
>
> following up on https://kanarip.wordpress.com/
> 2016/05/25/php-7-support-for-swig/
>
> I have been following the issue on Github:
> https://github.com/swig/swig/issues/571
> Now support for PHP7 has been merged into the master of swig!
>
> If anyone feels up to it, please can someone test that?
> I won't have time for it anytime soon.
>
> Timotheus
> _______________________________________________
> devel mailing list
> [email protected]
> https://lists.kolab.org/mailman/listinfo/devel
>

_______________________________________________
devel mailing list
[email protected]
https://lists.kolab.org/mailman/listinfo/devel