[Xapian-discuss] building php bindings

dennis dennis at works4me.com
Fri Nov 17 20:54:56 GMT 2006


Olly Betts wrote:
> Sorry, my PHP5 example only works if you 'include "xapian.php";' first.
>
> For PHP5, the simple test would be:
>
> <?php
> dl('xapian.so');
> echo version_string()."\n";
> ?>
>
>   
Ah, that works. I get "0.9.9" as output!
>> I'm running CentOS 4.4 final.
>> But your PHP5 was built from source, not installed from a package?
>> It's very odd that you get /usr/local/lib in php.ini but not from
>> php-config --extension-dir.
>>
>>     
I usually go get the latest apache, mysql, php and build it all myself 
rather than using the rpm packages. That is my preference.

Dennis




More information about the Xapian-discuss mailing list