When I run a simple create command:
- Code: Select all
$dbh = new PDO('C:\\path\\to\\new.db3');
it throws up a 'could not find driver' exception.
I've uncommented the following lines in php.ini
- Code: Select all
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
extension=php_sqlite.dll
phpinfo confirms that the pdo drivers are enabled:
- Code: Select all
PDO support enabled
PDO drivers mssql, mysql, sqlite, sqlite2
But the pdo_sqlite section shows the library as undefined.
- Code: Select all
PDO Driver for SQLite 3.x: enabled
PECL Module version: 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6.2.1 2007/01/01 09:36:05 sebastian Exp $
SQLite Library: 3.3.7undefined
I've tested the non-PDO sqlite commands for sqlite2 works and they work fine. I'm running windows xp and xampp 1.6.0.
Thanks for any help...
PS: I would also like to thank all of the apache friends folks. I don't know what I'd do without XAMPP... thanks for all the hard work.