SQLite equivalent
Rodolfo Alcazar
rodolfo.alcazar at padep.org.bo
Thu Aug 24 18:28:37 UTC 2006
On Thu, 2006-08-24 at 14:16 -0400, Matthew Miller wrote:
> On Thu, Aug 24, 2006 at 01:38:33PM -0400, Rodolfo Alcazar wrote:
> > I just wonder if there is another equivalent to sqlite, that php can
> > handle...
>
> Like, say, sqlite?
Yep. Sorry for not being enough explicit:
> No, really -- what do you mean by equivalent,
* simple
* which can store structure and data on a file, without running a dbms
(dont want a network-oriented server)...
> and what do you mean by handle,
php seems to handle sqlite, but in FC5 by default does not work:
[Thu Aug 24 11:59:49 2006] [error] [client 127.0.0.1] PHP Fatal error:
Call to undefined function sqlite_open()
in /var/www/html/www/lecac/plg/bookdb.php on line 23, referer:
http://localhost/www/lecac/index.php?pg=meta/
Then I searched for php-sqlite. Found ONLY an older version in:
http://womensfooty.com/fedora/core/5/RPMS/i386/
After installing:
[Thu Aug 24 12:47:55 2006] [error] [client 127.0.0.1] PHP Warning:
sqlite_open() [<a href='function.sqlite-open'>function.sqlite-open</a>]:
file is encrypted or is not a database
in /var/www/html/www/lecac/plg/bookdb.php on line 25, referer:
http://localhost/www/lecac/index.php?pg=meta/
Yes. It is there. Yes, it is a sqlite database, but version=3. That last
rpm handles just version=2.
> and what's wrong with sqlite?
Cant make it work with php.
Now, again, is there another equivalent to sqlite, that php in FC5 can
handle?
TIA!
--
Rodolfo Alcazar - rodolfo.alcazar at padep.org.bo
Netzmanager Padep, GTZ
591-70656800, -22417628, LA PAZ, BOLIVIA
http://otbits.blogspot.com
--
Die Zeit für Experimente ist vorbei......
More information about the fedora-list
mailing list