PHP7 bindings released

Olly Betts olly at survex.com
Mon Apr 3 11:12:15 BST 2017


On Mon, Apr 03, 2017 at 11:58:05AM +0200, Pascal MASSCHELIER wrote:
> I didn't notice php7 bindings were included since 1.4.2. That's good.

Perhaps I should have made more of a fanfare about them getting added.

> But I have some problems with these,
> 
> I compiled xapian-bindings 1.4.3 in a debian 9 container, but had no luck
> with it:
> 
>  php -r 'require
> "/usr/share/php/xapian.php";var_export(Xapian::version_string());'
> '1.4.3'Segmentation fault (core dumped)

That's sounds like a known issue with module unload which is already fixed
in git and will be solved by the upcoming 1.4.4 release.  It's easy to patch
the generated code as a workaround - only one line needs changing - see:

https://trac.xapian.org/ticket/748#comment:3

Cheers,
    Olly



More information about the Xapian-discuss mailing list