[Xapian-discuss] Just starting to experiment with php
Olly Betts
olly at survex.com
Sat Jun 11 01:06:47 BST 2011
On Fri, Jun 10, 2011 at 10:04:19AM -0400, Jim Lynch wrote:
> I took one of the examples and tried to run against my database
>
> ls -l /data1/mail/db/cur.1
> total 1129624
> -rw-r--r-- 1 jwl jwl 0 2011-06-09 02:27 flintlock
> -rw-r--r-- 1 jwl jwl 28 2011-06-09 02:27 iamchert
[...]
>
> php ex.php /data1/mail/db/cur.1 henry
> DatabaseOpeningError: Couldn't detect type of database
My guess would be that you're pulling in an older version of the PHP
bindings (in particular the xapian.so compiled part) which is using
a version of Xapian from before the chert backend was added.
Cheers,
Olly
More information about the Xapian-discuss
mailing list