[Xapian-discuss] php bindings not working in the browser
Olly Betts
olly at survex.com
Thu Dec 14 16:00:00 GMT 2006
On Thu, Dec 14, 2006 at 12:41:00AM -0800, Jamie D wrote:
> After running the install I can run the test files from the command
> line successfully I have tried running these through the browser and I
> am getting an error.
What is this error?
> If seems that xapain is getting loaded when its
> run on the commend line (php -m lists xapian) but not when run through
> a browser. I've check that loading of extensions is enabled in php,
> I'm not running in safe mode, ive added the extension=xapian.so to my
> php.ini file.
I'd try adding this to a page, which will report the options in use
and the Xapian version if it's loaded:
<?php phpinfo(); ?>
If Xapian isn't loaded, check if "enable_dl" is on.
Another thing to do is look at the Apache error_log, which contains
anything sent to stderr.
Cheers,
Olly
More information about the Xapian-discuss
mailing list