470,855 Members | 1,217 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,855 developers. It's quick & easy.

Error: file is encrypted or is not a database

Sal
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?
Jun 2 '08 #1
2 6131
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

Jun 2 '08 #2
Sal
On May 2, 10:06*am, Iván Sánchez Ortega <ivansanchez-...@rroba-
escomposlinux.-.punto.-.orgwrote:
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?
Jun 2 '08 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by Dave | last post: by
4 posts views Thread by Alan Samet | last post: by
4 posts views Thread by floppyzedolfin | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.