Re: SQLite equivalent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You could write to flat files then open and parse.  That is what I did
back in the day before MySQL made my life much easier.

Or xml would work.

-fastfish

On 8/24/06, Rodolfo Alcazar <rodolfo.alcazar@xxxxxxxxxxxx> wrote:
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@xxxxxxxxxxxx
Netzmanager Padep, GTZ
591-70656800, -22417628, LA PAZ, BOLIVIA
http://otbits.blogspot.com
--
Die Zeit für Experimente ist vorbei......


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux