Install custom Modules

Posted: January 4, 2014 in cPanel

We can use custom modules such as Apache and PHP modules also known as “Opt Mods” and “optmods” through the EasyApache system. You can access these modules from both the command line and the WHM interface. EasyApache will compile these custom modules as well as all the other modules you select into PHP and Apache.

How to install custome module
Use the following steps at the command line to install custom modules.

cd /var/cpanel/easy/apache/custom_opt_mods/

Download your custome module for example mod_GeoIP

wget http://docs.cpanel.net/twiki/pub/EasyApache/EasyApacheCustomModules/custom_opt_mod-mod_geoip.tar.gz

tar -zxvf custom_opt_mod-mod_geoip.tar.gz

Easy apache

/scripts/easyapache

Remove custom module
In order to remove a custom module from the server, delete the files associated with that custom module folder. after that run EasyApache.

You can refer custom modules documentation for more information.

WHM — Navigate to Home >> Software >> EasyApache (Apache Update) >> Help >> Cpanel::Easy Framework POD
or
/scripts/easyapache –perldoc

If you have problems when you build Apache with custom modules, execute the /scripts/easyapache –skip-custom-optmods command to revert back all the default settings.

Available Modules

mod_auth_mysql

mod_GeoIP

mod_wsgi

GD with JIS-mapped Japanese font support

Turkish locale patch for PHP5

suPHP PAM patch

mpm-itk

PHP4

mod_reqtimeout

mod_remoteip

mod_pagespeed

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s