Take a look at SQLite, a fully featured relational database which, at just 250KB, is by itself able to easily fit on a floppy disk yet capable of managing terabyte-sized databases. You also will see how it works with PHP.

This story continues at http://www.databasejournal.com/news/article.php/3696771