From 780b92ada9afcf1d58085a83a0b9e6bc982203d1 Mon Sep 17 00:00:00 2001
From: Lorry Tar Creator A PHP 4 extension for this release of Berkeley DB is included in the
-distribution package. It can either either link directly against the
-installed Berkeley DB library (which is necessary for running in a
-non-Apache/mod_php4 environment), or against mod_db4, which provides
-additional safety when running under Apache/mod_php4.
- For installation instructions, see the The PHP extension provides the following classes, which mirror the
-standard Berkeley DB C++ API.INSTALL file that
- resides in the lang/php_db4 directory in your
- Berkeley DB distribution.
-
+ For installation instructions, see the
+ INSTALL file that resides in the
+ lang/php_db4 directory in your
+ Berkeley DB distribution.
+
+ The PHP extension provides the following classes, which + mirror the standard Berkeley DB C++ API. +
class Db4Env {
function Db4Env($flags = 0) {}
function close($flags = 0) {}
@@ -60,7 +64,7 @@ standard Berkeley DB C++ API.
DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN,
$mode = 0666) {}
function remove($home, $flags = 0) {}
- function set_data_dir($directory) {}
+ function add_data_dir($directory) {}
function txn_begin($parent_txn = null, $flags = 0) {}
function txn_checkpoint($kbytes, $minutes, $flags = 0) {}
}
@@ -101,14 +105,24 @@ class Db4Cursor {
function pget($key, &$primary_key, $flags = 0) {}
function put($key, $data, $flags = 0) {}
}
- The PHP extension attempts to be "smart" for you by:
++ The PHP extension attempts to be "smart" for you by: +