[Xapian-discuss] Just starting to experiment with php

Jim Lynch jim at fayettedigital.com
Sat Jun 11 18:35:20 BST 2011


On 06/10/2011 08:06 PM, Olly Betts wrote:
> 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
>
Exactly.,

Thanks,
Jim.



More information about the Xapian-discuss mailing list