PHP 5.3.1 again

Shortly after uploading PHP 5.3.1 to lenny-custom, a bug appeared in the Debian BTS, concerning the several SQLite extensions. I went ahead and fixed this bug (in my own way; the Debian maintainers may choose a different path!) and prepared new packages.  The situation regarding SQLite is now as follows:

  • There are three different extensions for SQLite: sqlite, sqlite3 and pdo_sqlite
  • sqlite is the ‘old’ sqlite extension, which works with SQLite 2
  • sqlite3 and pdo_sqlite are newer extensions, designed to work with SQLite 3, the current stable branch
  • All of these extensions are packaged in the php5-sqlite package
  • php5-sqlite 5.3.1-3~tzz50+3 depends on libsqlite0 (>= 2.8.17) and libsqlite3-0 (>= 3.6.21)

Please note the emphasis on the version of libsqlite3-0. This dependency cannot be fulfilled in clean Lenny, but SQLite 3.6.21 (or higher) is available from Backports.org. Other packages are needed from Bpo as well:

  • libpq5 (>= 8.4~0cvs20090328)
  • libmysqlclient16 (>= 5.1.36)

This site is now running on this very version of PHP, so if you notice any weirdness, don’t hesitate to leave a comment ;-)

UPDATE OF FEBRUARY 12th

The Debian PHP maintainers did another upload yesterday, containing a fix for the SQLite problem (exactly the same fix as I did, so that’s nice ;-) ). However, this upload also contains fixes for some other problems, that made it seem like another backport was justified. Hence, the version of PHP in lenny-custom is now 5.3.1-4~tzz50.

Both comments and pings are currently closed.

Comments are closed.