NameDateSize

..15-Mar-2013

config.m406-Aug-201316.7 KiB

config.w3218-Dec-2012911

CREDITS18-Dec-201235

dba.c03-Jan-201432.3 KiB

dba.dsp18-Dec-20126.9 KiB

dba_cdb.c03-Jan-20147.2 KiB

dba_db1.c03-Jan-20143.9 KiB

dba_db2.c03-Jan-20144.5 KiB

dba_db3.c03-Jan-20144.9 KiB

dba_db4.c03-Jan-20146.8 KiB

dba_dbm.c03-Jan-20144.1 KiB

dba_flatfile.c03-Jan-20143.9 KiB

dba_gdbm.c03-Jan-20144.3 KiB

dba_inifile.c03-Jan-20143.8 KiB

dba_ndbm.c03-Jan-20143.3 KiB

dba_qdbm.c03-Jan-20143.8 KiB

dba_tcadb.c03-Jan-20144.2 KiB

install_cdb.sh18-Dec-20121.1 KiB

libcdb/03-Jan-2014

libflatfile/03-Jan-2014

libinifile/03-Jan-2014

php_cdb.h18-Dec-2012104

php_db1.h18-Dec-2012104

php_db2.h18-Dec-2012104

php_db3.h18-Dec-2012104

php_db4.h18-Dec-2012104

php_dba.h03-Jan-20145 KiB

php_dbm.h18-Dec-2012104

php_flatfile.h18-Dec-2012124

php_gdbm.h18-Dec-2012108

php_inifile.h18-Dec-2012120

php_ndbm.h18-Dec-2012108

php_qdbm.h18-Dec-2012108

php_tcadb.h03-Jan-20141.4 KiB

README18-Dec-20123.2 KiB

tests/23-Sep-2013

README

1These functions build the foundation for accessing Berkeley DB style 
2databases. 
3
4This is a general abstraction layer for several file-based databases. As
5such, functionality is limited to a common subset of features supported 
6by modern databases such as Sleepycat Software's DB2. (This is not to be 
7confused with IBM's DB2 software, which is supported through the ODBC 
8functions.) 
9
10This extensions allows to work with the following databases:
11dbm      DBM is the oldest (original) type of Berkeley DB style databases.
12         You should avoid it, if possible. We do not support the 
13         compatibility functions built into DB2 and gdbm, because they are 
14         only compatible on the source code level, but cannot handle the 
15         original dbm format.  
16ndbm     NDBM is a newer type and more flexible than dbm. It still has 
17         most of the arbitrary limits of dbm (therefore it is deprecated).  
18gdbm     GDBM is the GNU database manager.  
19db2      DB2 is Sleepycat Software's DB2. It's described as "a programmatic
20         toolkit that provides high-performance built-in database support 
21         for both standalone and client/server applications.  
22db3      DB3 is Sleepycat Software's DB3.  
23db4      DB4 is Sleepycat Software's DB4. This is available since PHP 5.0.
24cdb      CDB is "a fast, reliable, lightweight package for creating and 
25         reading constant databases." It is from the author of qmail and 
26         can be found at http://cr.yp.to/cdb.html. Since it is constant, 
27         we support only reading operations. And since PHP 4.3.0 we support 
28         writing (not updating) through the internal cdb library.  
29cdb_make Since PHP 4.3.0 we support creation (not updating) of cdb files 
30         when the bundled cdb library is used.  
31flatfile This is available since PHP 4.3.0 for compatibility with the 
32         deprecated dbm extension only and should be avoided. However you 
33         may use this where files were created in this format. That happens 
34         when configure could not find any external library.  
35inifile  This is available since PHP 4.3.3 to be able to modify php.ini 
36         files from within PHP scripts. When working with ini files you 
37         can pass arrays of the form array(0=>group,1=>value_name) or 
38         strings of the form "[group]value_name" where group is optional. 
39         As the functions dba_firstkey() and dba_nextkey() return string 
40         representations of the key there is a new function dba_key_split() 
41         available since PHP 5 which allows to convert the string keys into 
42         array keys without loosing FALSE.  
43qdbm     This is available since PHP 5.0.0. The qdbm library can be loaded 
44         from http://qdbm.sourceforge.net.  
45
46
47After configuring and compiling PHP you must execute the following test
48from commandline: 
49  php run-tests.php ext/dba. 
50This shows whether your combination of handlers works. Most problematic 
51are dbm and ndbm which conflict with many installations. The reason for 
52this is that on several systems these libraries are part of more than one
53other library. The configuration test only prevents you from configuring 
54malfaunctioning single handlers but not combinations.