Apache::forks::BerkeleyDB - Transparent Apache ithreads integration using forks::BerkeleyDB
This documentation describes version 0.03.
# Configuration in httpd.conf PerlModule Apache::forks::BerkeleyDB # this should come before all other modules!
Do NOT change anything in your scripts. The usage of this module is transparent.
Transparent Apache ithreads integration using forks::BerkeleyDB. This module enables the ithreads API to be used among multiple processes in a pre-forking Apache http environment.
The module should be loaded upon startup of the Apache daemon. You must be using at least Apache httpd 1.3.0 or 2.0 for this module to work correctly.
Add the following line to your httpd.conf:
PerlModule Apache::forks::BerkeleyDB
or the following to the first PerlRequire script (i.e. startup.pl):
use Apache::forks::BerkeleyDB;
It is very important to load this module before all other perl modules!
A Common usage is to load the module in a startup file via the PerlRequire directive. See eg/startup.pl in this distribution. In this case, be sure that the module is first to load in the startup script, and that the PerlRequre directive to load the startup script is the first mod_perl directive in your httpd.conf file.
See Apache::forks for more information.
Eric Rybski, <rybskej@yahoo.com>
Copyright (c) 2007-2008 Eric Rybski <rybskej@yahoo.com>. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Apache::forks, forks::BerkeleyDB, forks::BerkeleyDB::shared.
To install Apache::forks, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Apache::forks
CPAN shell
perl -MCPAN -e shell install Apache::forks
For more information on module installation, please visit the detailed CPAN module installation guide.