Wednesday, November 4, 2009

pdo_sqlite for php 5.2.x

The latest 5.2.x PHP comes with the pdo_sqlite driver built using the pretty old sqlite library (3.3.7). Related parameters of the configure script are unobvious and rather confusing to understand quickly how to rebuild it with the latest version of the sqlite library (which is 3.6.19 now). In fact all we need is:

--with-pdo-sqlite=[LIBRARY_BASE_PATH]

where LIBRARY_BASE_PATH is /usr/local or wherever the library is installed to.

No comments:

Post a Comment