[Xapian-discuss] Debian etch packages of php5-xapians have old style flat function interface

Olly Betts olly at survex.com
Wed May 23 09:09:03 BST 2007

On Wed, May 23, 2007 at 09:24:23AM +0200, Daniel M?nard wrote:
> Olly Betts a écrit :
> >    If you're using PHP5, you also need to add `include "xapian.php"'
> >    to your PHP scripts which use Xapian in order to get the PHP class
> >    wrappers.
> >  
> Unless I'm wrong, it seems that for now, xapian.php is not included in 
> the deb packages...

Ah, no it's not listed to be packaged.  That presumably means that it
doesn't get installed anywhere either (since otherwise the packaging
script would complain about the file being installed but not packaged)
which should also be fixed.

Thanks for spotting that.

> A temporary workaround can be to get this file from one of the last 
> snapshots:
> http://www.oligarchy.co.uk/xapian/trunk/xapian-bindings-1.0.0_svn8677.tar.gz
> (in the archive the file should be in /php/php5/xapian.php)

Slightly safer would be to pull the file from the 0.9.10 sources, but I
suspect the latest SVN version will be OK currently.


More information about the Xapian-discuss mailing list