Page tree
Skip to end of metadata
Go to start of metadata

Overview

The mod_dbd Apache module uses Apache Portable Runtime (APR) to manage SQL database connections.

Usage

Use this module if you have a module that connects to a SQL database. The mod_authn_dbd Apache module requires the mod_dbd Apache module.

Requirements

This module has no requirements.


Featured documentation

  EasyApache 3

IntroductionFAQ

Change Log Release Notes  

ProfilesCustomization

Tomcat

Migrate from Tomcat 5.5 to 7

How to Deploy Java Applications


Important:

EasyApache 3 does not support new installations of Tomcat.

As of cPanel & WHM version 76, EasyApache 4 now supports Tomcat 8.5. For more information, read our Tomcat documentation.

Compatibility

This module has no known compatibility issues.

How to install or uninstall mod_dbd

Module status in default profiles

The EasyApache profiles do not provide the mod_dbd Apache module by default.

Installation Steps

To install or uninstall the mod_dbd Apache module, perform the following steps:

  1. Run EasyApache in WHM's EasyApache 3 interface (Home >> Software >> EasyApache 3).

    Notes:

    • To access EasyApache from the command line interface, run the /scripts/easyapache script as the root user.
    • For more information on EasyApache, read our EasyApache documentation.
  2. Select the profile that you wish to modify.

  3. Click the  icon that corresponds to your selection.

  4. Click Next Step in the Apache Version stage.
  5. Click Next Step in the PHP Version stage.
  6. Click Exhaustive Options List in the Short Options List stage.
  7. Perform one of the following actions in the Exhaustive Options List stage:
    • To install the mod_dbd Apache module, select the DBD option.

      Note:

      If you select this option, EasyApache will add the --enable-dbd flag to Apache's build options.

    • To uninstall the mod_dbd Apache module, deselect the DBD option.
  8. Click Save and Build.

How to enable or disable the module in a custom EasyApache profile file

The following table provides information about how EasyApache refers to the mod_dbd Apache module: 

EasyApache module namemod_dbd
EasyApache Profile EntryApache:optmods:DBD

To enable or disable the mod_dbd Apache module in a custom EasyApache profile file, set the Apache:optmods:DBD profile entry to one of the following values:

  • 1 – This value enables the module.
  • 0 – This value disables the module.

History

The following table provides information on changes to the mod_dbd Apache module within EasyApache, and content changes to this document:

DateEasyApache versionActionDetails
2/11/20143.24.11Doc updateImplemented case 73225: Remove Apache 1.3 and 2.0
1/31/20133.18.0Doc updateImplemented case 51105: Update for Apache 2.4

Vendor documentation

The following text is an excerpt from Apache's website:

mod_dbd manages SQL database connections using APR. It provides database connections on request to modules requiring SQL database functions, and takes care of managing databases with optimal efficiency and scalability for both threaded and non-threaded MPMs. For details, see the APR website and this overview of the Apache DBD Framework by its original developer.

For more information on the mod_dbd Apache module, view the following documentation:

Apache versionDocumentation
2.2Apache Module mod_dbd
2.4Apache Module mod_dbd