[Xapian-discuss] warning: dl() [function.dl]: xapian: Unable to initialize module Module compiled with module API=20050922

Olly Betts olly at survex.com
Sat Apr 20 07:45:55 BST 2013


On Sat, Apr 20, 2013 at 12:59:40AM -0500, Ron Parker wrote:
> "warning: dl() [function.dl]: xapian: Unable to initialize module
> Module compiled with module API=20050922, debug=0, thread-safety=0 PHP
> compiled with module API=20060613, debug=0, thread-safety=0 These
> options need to match in /usr/share/php/xapian.php on line 22." 

This isn't really a Xapian-specific problem - it's a PHP version
mismatch.

The error means the PHP bindings you're trying to use were built for an
older version of PHP.  The PHP developers make binary-incompatible
changes to the module API sometimes.

You're either going to need to install that older PHP version (one which
has "module API=20050922" - a quick poke in google suggests that means
PHP 5.1.x) or rebuild the bindings against the version of PHP you have
installed.

Cheers,
    Olly



More information about the Xapian-discuss mailing list