cPanel & WHM no longer develops or updates EasyApache 3. We deprecated EasyApache 3 on December 31, 2018. We removed support for EasyApache 3 in cPanel & WHM version 78.
Apache Module: Perl - EasyApache - cPanel Documentation
Page tree
Skip to end of metadata
Go to start of metadata

Overview

The mod_perl Apache module provides Perl scripting language support for the Apache web server.

Note:

cPanel & WHM installs the Perl scripting language on your server. It is not necessary to use this module unless you wish to write custom Apache modules with the Perl scripting language, or to configure Apache with Perl scripts.

Usage

Use the mod_perl Apache module to enable the use of the Perl scripting language with the Apache web server. For more information about how to configure and use the Perl scripting language with the Apache web server, read Apache's mod_perl documentation.

How to install or uninstall mod_perl

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

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

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

    Note:

    To access EasyApache from the command line interface, run the /scripts/easyapache script as the root user.

  2. Select the profile that you wish to modify.

  3. Click the  icon that corresponds to your selection.

    Warnings:

    • The mod_perl Apache module is not compatible with Apache version 2.4. If you select Apache version 2.4 in the Apache Version interface, you cannot select the Perl option on the Short Options List interface.
    • You must only use the mod_perl Apache module in a single-user environment.
  4. Click Next Step in the Apache Version stage.

  5. Click Next Step in the PHP Version stage.
  6. Perform one of the following actions in the Short Options List stage:
    • To install the mod_perl Apache module, select the Mod Perl option.
    • To uninstall the mod_perl Apache module, deselect the Mod Perl option.
  7. Click Save and Build.

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

The following table contains the module information that EasyApache stores in the profile file for the module:

EasyApache module namemod_perl
EasyApache Profile EntryModPerl

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

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

Requirements

This module has no requirements.

Compatibility

You must only use the mod_perl apache module in a single user environment. 

The mod_perl Apache module is not compatible with the mod_ruid2 Apache module.  If you select both mod_perl and mod_ruid2, the system installs mod_ruid2

Apache version 2.4

The mod_perl Apache module is not compatible with Apache version 2.4.

History

DateEasyApache versionActionDetails
8/5/143.26.4EA update

Implemented case 59818: Update mod_perl to 2.0.8

2/11/20143.24.11Doc updateRemoved Apache 1.3 and 2.0
1/31/20133.18.0

Doc update

EA update

Update for Apache 2.4

Fixed case 62914: Update for cPanel & WHM version 11.36 compatibility

7/11/20123.14.1EA update

Fixed case 59437: Update for non-threaded perl

Implemented case 59127: Update EasyApache to mod_perl 2.0.6

10/28/20113.7.0EA updateFixed case 52791: mod_perl 1.31 does not build against Apache 1.3 with perl5.14
7/15/20113.4.2EA update

Implemented case 47407: Update mod_perl2 to 2.0.5

Related documentation

For more information on EasyApache, view our EasyApache documentation.

Vendor documentation

The following text is an excerpt from the perl.apache.org website:

mod_perl brings together the full power of the Perl programming language and the Apache HTTP server. You can use Perl to manage Apache, respond to requests for web pages and much more.

mod_perl gives you a persistent Perl interpreter embedded in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content.

For more information on the mod_perl Apache module, click the following link:

Apache versionDocumentation
2.2 or 2.4mod_perl