Software: Apache/2.0.54 (Fedora). PHP/5.0.4 uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 uid=48(apache) gid=48(apache) groups=48(apache) Safe-mode: OFF (not secure) /usr/share/doc/db4-devel-4.3.27/ref/ext/ drwxr-xr-x |
Viewing file: Select action/file-type:
Using Berkeley DB with PHPA 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. 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) {} function dbremove($txn, $filename, $database = null, $flags = 0) {} function dbrename($txn, $file, $database, $new_database, $flags = 0) {} function open($home, $flags = DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN, $mode = 0666) {} function remove($home, $flags = 0) {} function set_data_dir($directory) {} function txn_begin($parent_txn = null, $flags = 0) {} function txn_checkpoint($kbytes, $minutes, $flags = 0) {} The PHP extension attempts to be "smart" for you by:
To install this PHP module linked against the mod_db4 framework, perform the following steps: % phpize % ./configure --with-db4=[Berkeley DB library installation directory] \ --with-mod_db4=$APACHE_INCLUDEDIR % make % make install Then, in your php.ini file add the following: extension=db4.so This extension will now only run in a SAPI linked into Apache httpd (mod_php4, most likely), and will take advantage of all of its auto-recovery and handle-caching facilities. To install this php module linked against the Berkeley DB library and not the mod_db4 framework, perform the following steps: % phpize % ./configure --with-db4=[Berkeley DB library installation directory] % make % make install Then in your php.ini file add: extension=db4.so
Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved. |
:: Command execute :: | |
--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0031 ]-- |