This is a discussion on Error: file is encrypted or is not a database within the PHP Language forums, part of the PHP Programming Forums category; My current configuration is Windows XP SP2, Apache 2.2.8, and PHP 5.2.5 with extensions php_pdo.dll ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
My current configuration is Windows XP SP2, Apache 2.2.8, and PHP
5.2.5 with extensions php_pdo.dll and php_sqlite.dll enabled. Whenever I create a database in PHP I can retrieve rows just fine using the PHP functions, but when I try to access it directly using the sqlite3.exe application I get the above error message. Is there a way to create a sqlite3 database that's accessible with both PHP and sqlite3.exe? |
|
|||
|
Sal wrote:
> My current configuration is [...] PHP 5.2.5 with [...] php_sqlite.dll Is that the sqlite v2 library, or the sqlite v3 library? Run the phpinfo() function and look at the output to check it out. -- ---------------------------------- Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org- Proudly running Debian Linux with 2.6.24-1-amd64 kernel, KDE 3.5.9, and PHP 5.2.5-3 generating this signature. Uptime: 19:03:53 up 1 day, 22:24, 2 users, load average: 1.65, 1.14, 0.82 |
|
|||
|
On May 2, 10:06*am, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.org> wrote: > Sal wrote: > > My current configuration is [...] PHP 5.2.5 with [...] php_sqlite.dll > > Is that the sqlite v2 library, or the sqlite v3 library? Run the phpinfo() > function and look at the output to check it out. > > -- > ---------------------------------- > Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org- > > Proudly running Debian Linux with 2.6.24-1-amd64 kernel, KDE 3.5.9, and PHP > 5.2.5-3 generating this signature. > Uptime: 19:03:53 up 1 day, 22:24, *2 users, *load average: 1.65, 1.14,0.82 It's the sqlite2 PDO library. Is there a reliable library for sqlite3? |