tags:

views:

120

answers:

2

I am looking for a super-light weight open-source database engine (could be a library that mimics one) to be packaged part of a tiny PHP script distributed to people without sudo access. Basic CRUD, no need for any complicated implementations with string search, etc.

I found txtSQL (uses flat files, which I believe is the way to go) but hesitant to use it given the last time it was updated (2005-03).

Suggestions anyone?

+6  A: 

sqlite gives you a platform-independent file format and is heavily regression tested and widely used. It is also available in PHP via SQLite3.

Harold L
Doesn't that require some kinda `sudo` permissions to build PHP with the extension? Forgot to mention, needs to work with PHP4/5. SQLite3 comes by default w/ PHP5.3 but not before... Thanks!
JadB
A: 

sqlite is about as light as you can get and it does everything via text files.

Recursion
"is does everything via text files": really? since when?!
Alix Axel
how about always. the .db file is just a formatted text file, open it up sometimes.
Recursion