[Xapian-discuss] building php bindings

dennis dennis at works4me.com
Fri Nov 17 18:00:01 GMT 2006


James Aylett wrote:
> On Fri, Nov 17, 2006 at 10:20:59AM -0700, dennis wrote:
>
>   
>> I built xapian, and am trying to build php bindings for it and failing.
>>
>> checking for PHP extension directory... '/usr/local/bin/php-config 
>> --extension-dir' reports 
>> '/usr/local/lib/php/extensions/no-debug-non-zts-20050922' but that 
>> directory doesn't exist!
>>
>> Looking at this, it doesn't seem like a xapian thing at all, but a weird 
>> php thing. Does anyone know why php-config would give a weird directory 
>> for extension-dir? I'm not familiar with php-config.
>>     
>
> That's a sensible (in PHP's eyes) extension-dir - try just creating
> that directory.
>
>   

and that worked. well I feel silly.

I have built php/apache/etc a ton of times, but am not familiar with 
php-config or its output.

It didn't look like a sensible dir to me, so I was mucho confused. 
extension_dir in my php.ini is set to /usr/local/lib. I don't know why 
there would be a difference.

Dennis



More information about the Xapian-discuss mailing list