[Xapian-discuss] php+apache+threads

gervin23 gervin23 at fastmail.fm
Fri Jul 15 15:34:09 BST 2005


hello,

this might be a known problem but thought i'd post about it anyway.

based on 0.9.1 (tried 0.8.5 as well), trying to load the php bindings
into apache kept giving me the following error message:
------------
PHP Warning:  Unknown(): Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-zts-20020429/xapian.so' -
/usr/lib/php/extensions/no-debug-zts-20020429/xapian.so: cannot open
shared object file: No such file or directory in Unknown on line 0
------------

after recompiling php and apache with various USE flags (gentoo system),
i found the culprit to be the 'threads' option with apache-2.0.54-r8 or
earlier. however, apache-2.0.54-r10 and later seem to load fine. as far
as i can tell, r10 is the breakpoint at which the maintainers moved to
the more traditional config layout as well as offering all the new MPM
options.

is it that the old threads-enabled apache just didn't work as advertised
or is this something related to SWIG?

thanks,
andrew



More information about the Xapian-discuss mailing list