Charlie Hull
2007-Apr-03 15:14 UTC
[Xapian-discuss] Windows build files for PHP bindings now available for 0.9.10
Hi all, After a certain amount of pain, we have managed to get PHP bindings to build for Windows using Visual C++. The updated build files are at: http://www.lemurconsulting.com/Products/Xapian/Overview.shtml Notes: a. You need to run SWIG to rebuild the bindings, the versions included in the distro don't work. b. PHP 4 bindings can be built against the Windows binary of PHP. c. PHP 5 doesn't work unless you hack PHP itself to prevent it crashing on exit - I've filed a bug with the PHP people about this, and there's evidence similar things have happened in the past, so I'm pretty sure it's not our fault. I've included pointers to instructions about how to build PHP. Thanks to Daniel M?nard for supporting this project. Cheers Charlie Lemur
Olly Betts
2007-Apr-03 15:21 UTC
[Xapian-discuss] Windows build files for PHP bindings now available for 0.9.10
On Tue, Apr 03, 2007 at 03:13:55PM +0100, Charlie Hull wrote:> a. You need to run SWIG to rebuild the bindings, the versions included > in the distro don't work.Hmm, that's not ideal since you need a currently unreleased version of SWIG to generate the PHP bindings (or else some things don't work properly). What's wrong with the bindings in the 0.9.10 tarball that rerunning SWIG fixes? Cheers, Olly
Daniel Ménard
2007-Apr-03 16:07 UTC
[Xapian-discuss] Windows build files for PHP bindings now available for 0.9.10
Charlie Hull a ?crit :> c. PHP 5 doesn't work unless you hack PHP itself to prevent it > crashing on exit - I've filed a bug with the PHP people about this, > and there's evidence similar things have happened in the past, so I'm > pretty sure it's not our fault. I've included pointers to instructions > about how to build PHP.For info, here is the link to the bug entry filled by Charlie: http://bugs.php.net/bug.php?id=40985 If you feel concerned, please comment and vote for this bug as it prevents to use the xapian php bindings with a standard php distribution. I added a comment about the fact that php_cgi suffers the same problem. Best regards, -- Daniel M?nard