Before you begin
- What are these modules for?
These modules allow you to add custom Apache and PHP modules to EasyApache which will be accessible from the command line and WHM interfaces. Custom modules are compiled into Apache and/or PHP just like the modules provided with EasyApache.
- Where is the documentation for making custom modules?
Documentation can be found on your server at WHM -> EasyApache -> Help -> "Cpanel::Easy Framework POD" and via CLI `/scripts/easyapache --perldoc`. Documentation can also be found here
- Does cPanel provide support for custom modules?
No, these are "use at your own risk".
- Will modules here be included in EasyApache?
More than likely, no. This site is not a proving ground for future inclusions.
- What happens if I have problems building?
If you are unable to troubleshoot the problem, run /scripts/easyapache --skip-custom-optmods to build Apache and PHP without any custom modules (or the WHM equivalent found in EasyApache's 'Help' section).
- How do I get cPanel to include my favorite modules?
Add your module to this poll so that we can be aware of any draw for the module.
In order to install a custom module, it must be downloaded and unzipped into /var/cpanel/easy/apache/custom_opt_mods/. From your server as root, you can install any module listed below by running these commands while replacing NAME.tar.gz with the filename of the module you wish to download.
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf NAME.tar.gz
In order to remove a custom module from the server, simply delete the files that were created by the above commands and the module will be removed from all future builds and the EasyApache UI.