Name
DBM-Style Database Abstraction
Synopsis
For very simple database installations, you can use the DBM-style database abstraction library. These functions allow you to store records in simple database files. The database files created through this library store simple key/value pairs and are not intended as replacements for full-scale relational databases.
To use these functions, you must install the appropriate
library and compile PHP with the appropriate options: --with-dbm
for original Berkeley database
files (see DBM), --with-ndbm
for the newer Berkeley
database style, --with-gdbm
for
GNU’s version of DBM, --with-db2
or --with-db3
for Sleepycat
Software’s DB2 and DB3, and --with-cdb
for Cdb support.
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.