On 8 Jul 2011, at 2:50am, James_21th wrote:

> $dbh = new PDO('sqlite:db1.db');

Make sure "extension=php_pdo_sqlite.dll" is enabled in php.ini.  Do a find on 
'sqlite' in it and see if anything looks disabled.

Specify a full path for you database file, e.g.

sqlite:/opt/databases/mydb.sq3

Make sure that your Apache process has permission to create and write in that 
folder.  Possibly easiest to debug this problem by making a folder that 
everything can write to.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to