Opened 16 years ago
Closed 15 years ago
#459 closed defect (fixed)
Prebuilt PHP bindings won't work on PHP 5.3.0
| Reported by: | Charlie Hull | Owned by: | Charlie Hull |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.4 |
| Component: | MSVC makefiles | Version: | 1.0.18 |
| Severity: | normal | Keywords: | |
| Cc: | daniel.menard@… | Blocked By: | |
| Blocking: | Operating System: | Microsoft Windows |
Description
Bjorn Lamers reports that the prebuilt PHP bindings for Windows won't work on PHP 5.3.0 (the error is " PHP Startup: xapian: Unable to initialize module..."). Further investigation reveals the PHP module API has changed for 5.3.0 and is not backwards compatible. We'll probably need to build separate files for PHP 5.3.0.
Change History (4)
comment:1 by , 16 years ago
| Cc: | added |
|---|
comment:2 by , 16 years ago
| Component: | Xapian-bindings → MSVC makefiles |
|---|
comment:3 by , 15 years ago
Fixed in patch 45 for trunk, attached to http://trac.xapian.org/ticket/495
comment:4 by , 15 years ago
| Milestone: | → 1.2.4 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Yes, they changed the API in 5.3.
If you have php-config, then php-config --phpapi will give you the API version (it gives
20060613for 5.2.10,20090626for 5.3.2). This is what must match for things to work.This isn't really an issue in the bindings themselves, but rather in how you are packaging them, so setting component to reflect that.