Eric Rybski
and 1 contributors

NAME

Apache::forks::BerkeleyDB - Transparent Apache ithreads integration using forks::BerkeleyDB

VERSION

This documentation describes version 0.03.

SYNOPSIS

 # 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.

DESCRIPTION

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.

USAGE

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.

NOTES

See Apache::forks for more information.

TODO

CAVIATS

BUGS

AUTHOR

Eric Rybski, <rybskej@yahoo.com>

COPYRIGHT AND LICENSE

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.

SEE ALSO

Apache::forks, forks::BerkeleyDB, forks::BerkeleyDB::shared.