Am Freitag, den 05.10.2007, 01:03 +0200 schrieb Kees Nuyt: > I can't reproduce the exception (the PDO->query > version) on an environment I happened to have > available. > > - MS Windows XP Professional (5.2 build 2600) > - Apache 2.2.4 > - PHP 5.2.2 > - PDO SQLite 1.0.1 2007/03/23 > - SQLite library 3.3.16 > > Perhaps I'll try again tomorrow with the > same installation, but using > - SQLite library 3.4.2 > > The only thing i can think of (wild guess) is your > php-cli uses another php.ini than the Apache module does.
Hi Kees, it's true that the php.ini is different for the CLI and mod_php variants - that's actually quite a common setup. The library version used by PHP seems to be consistent with the SQLite commandline tool, though: $ php -i | grep -i sqlite /etc/php5/cli/conf.d/02_pdo_sqlite.ini, /etc/php5/cli/conf.d/03_sqlite3.ini, /etc/php5/cli/conf.d/04_sqlite.ini, PDO drivers => sqlite, mysql pdo_sqlite PDO Driver for SQLite 3.x => enabled PECL Module version => 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $ SQLite Library => 3.4.2 SQLITE3 SQLite3 support => enabled sqlite3 library version => 3.4.2 The phpinfo() output from mod_php states exactly the same version. CU Markus ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------