I used PHP to create a database with a table. I did it in the following way:
this is most likely an version mismatch between the php sqlite version and your standalone sqlite executable.
see this: http://us3.php.net/manual/en/book.sqlite.php - under "user contributed notes", from Andrew Paul Dickey.
for a quick solution you can install and use the sqlite2 standalone executable.