M
MoonWolf
Apache:BI - DBI persistent connection library
===============================================
It works together with mod_ruby.
It holds DBI connection for every process of Apache.
From application, it can use transparent.
Requires
--------
* mod_ruby
* ruby-dbi
Install
-------
# ruby setup.rb
Configuration
-------------
httpd.conf:
<IfModule mod_ruby.c>
RubyRequire apache/dbi
</IfModule>
foo.rbx:
require 'dbi'
dbh = DBI.connect('dbig:foo',...)
# returns pooled DatabaseHandle
Download
===============================================
It works together with mod_ruby.
It holds DBI connection for every process of Apache.
From application, it can use transparent.
Requires
--------
* mod_ruby
* ruby-dbi
Install
-------
# ruby setup.rb
Configuration
-------------
httpd.conf:
<IfModule mod_ruby.c>
RubyRequire apache/dbi
</IfModule>
foo.rbx:
require 'dbi'
dbh = DBI.connect('dbig:foo',...)
# returns pooled DatabaseHandle
Download