Beneath the Abstraction
To use the DBA functions, you need to have one of the supported database systems installed. If you are running Linux, you probably have the GNU Database Manager (GDBM) installed. For each system, there is a corresponding compile option that should have been used when PHP was installed. You can see the supported databases and their corresponding compile options in Table 12.1.
Type | Compile Option | Further Information |
---|---|---|
cdbm | --with-cdbm | Read-only database system |
cdb | --with-cdb | Read/write when bundled version is used; no updates allowed |
db2 | --with-db2 | http://www.sleepycat.com/ |
db3 | --with-db3 | http://www.sleepycat.com/ |
db4 | --with-db4 | http://www.sleepycat.com/ (since PHP 5) |
dbm | --with-dbm | The original ... |
Get Sams Teach Yourself PHP in 24 Hours, Third 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.