⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 php.so

📁 berkeley db 4.6.21的源码。berkeley db是一个简单的数据库管理系统
💻 SO
字号:
m4_comment([$Id: php.so,v 10.3 2004/10/18 17:08:43 bostic Exp $])m4_ref_title(m4_db Extensions,    Using m4_db with PHP, PHP, ext/perl, dumpload/utility)m4_p([dnlA PHP 4 extension for this release of m4_db is included in thedistribution package.  It can either either link directly against theinstalled m4_db library (which is necessary for running in anon-Apache/mod_php4 environment), or against mod_db4, which providesadditional safety when running under Apache/mod_php4.])m4_p([dnlThe PHP extension provides the following classes, which mirror thestandard m4_db C++ API.])m4_indent([dnlclass Db4Env {m4_indent([dnlfunction 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) {}])}m4_blankclass Db4 {m4_indent([dnlfunction Db4($dbenv = null) {}	// create a new Db4 object using the optional DbEnvfunction open($txn = null, $file = null, $database = null, $flags = DB_CREATE, $mode = 0) {}function close() {}function del($key, $txn = null) {}function get($key, $txn = null, $flags = 0) {}function pget($key, &$pkey, $txn = null, $flags = 0) {}function get_type() {}	// returns the stringified database type namefunction stat($txn = null, $flags = 0) {} // returns statistics as an asfunction join($cursor_list, $flags = 0) {}function sync() {}function truncate($txn = null, $flags = 0) {}function cursor($txn = null, flags = 0) {}])}m4_blankclass Db4Txn {m4_indent([dnlfunction abort() {}function commit() {}function discard() {function id() {}function set_timeout($timeout, $flags = 0) {}])}m4_blankclass Db4Cursor {m4_indent([dnlfunction close() {}function count() {}function del() {}function dup($flags = 0) {}function get($key, $flags = 0) {}function pget($key, &$primary_key, $flags = 0) {}function put($key, $data, $flags = 0) {}])}])m4_p([dnlThe PHP extension attempts to be "smart" for you by:])m4_nlistbeginm4_nlist([dnlAuto-committing operations on transactional databases if no explicitDb4Txn object is specified.])m4_nlist([dnlPerforming reference and dependency checking to insure that allresources are closed in the correct order.])m4_nlist([dnlSupplying default values for flags.])m4_nlistendm4_p([dnlTo install this PHP module linked against the mod_db4 framework, performthe following steps:])m4_indent([dnl% phpize% ./configure --with-db4=__LB__[]m4_db library installation directory__RB__ \	--with-mod_db4=$APACHE_INCLUDEDIR% make% make install])m4_p([dnlThen, in your php.ini file add the following:])m4_indent([extension=db4.so])m4_p([dnlThis extension will now only run in a SAPI linked into Apache httpd(mod_php4, most likely), and will take advantage of all of itsauto-recovery and handle-caching facilities.])m4_p([dnlTo install this php module linked against the m4_db library and not themod_db4 framework, perform the following steps:])m4_indent([dnl% phpize% ./configure --with-db4=__LB__[]m4_db library installation directory__RB__% make% make install])m4_p([dnlThen in your php.ini file add:])m4_indent([dnlextension=db4.so])m4_page_footer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -