How can I enable an Apache or PHP Module on my cPanel VPS? Print

  • 8

In this tutorial, we will demonstrate the process involved to load additional Apache and/or PHP modules.

  1. Login to WHM (Web Host Manager) by visiting https://yourserverip:2087 and enter the username "root" along with your root password (screenshot)

  2. Search for and click on "EasyApache 4" (screenshot)

  3. Click on "Customize" (screenshot)

  4. Click on either "Apache Modules" or "PHP Extensions", depending on what you need (screenshot)

Apache Modules

     4a. Search for the desired module and click on the grey slider icon. It should turn blue (screenshot)

PHP Extensions

     4b. Search for the extension you are looking to add, and enable it for your chosen PHP Version(s) (screenshot)

     5. Click on "Next" until you reach the "Review" section (screenshot)

     6. Scroll down, and click on "Provision" (screenshot)


The selected Apache or PHP Module(s) will then be installed for you. You're all done!



Apache Modules:


mod_allowmethods
HTTP request method restriction module for the Apache HTTP Server

mod_asis
As-is provider module for the Apache HTTP Server

mod_auth_digest
HTTP Digest Authentication module for the Apache HTTP Server

mod_authn_anon
Anonymous-user authentication module for the Apache HTTP Server

mod_authn_dbd
DBD-based authentication module for the Apache HTTP Server

mod_authn_dbm
DBM-based authentication module for the Apache HTTP Server

mod_authn_socache
Shared-memory authentication caching module for the Apache HTTP Server

mod_authnz_ldap
LDAP authentication/authorization module for the Apache HTTP Server

mod_authz_dbd
DBD-based group authorization module for the Apache HTTP Server

mod_authz_dbm
DBM-based group authorization module for the Apache HTTP Server

mod_authz_owner
Ownership-based authorization module for the Apache HTTP Server

mod_brotli
Compress content via Brotli before it is delivered to the client

mod_buffer
Request buffering module for the Apache HTTP Server

mod_bw
Set a limit to the maximum speed available to certains users to download.

mod_bwlimited 
Provides cPanel's way of disabling bandwidth exceeders

mod_cache 
Content caching module for the Apache HTTP Server

mod_cache_disk 
Disk-based caching module for the Apache HTTP Server

mod_cache_socache
Shared-memory caching module for the Apache HTTP Server

mod_cgi
CGI module for the Apache HTTP Server

mod_cgid 
CGI module for the Apache HTTP Server

mod_charset_lite
Character set conversion module for the Apache HTTP Server

mod_cpanel
Perform cPanel specific checks when handling requests

mod_cpanel-debug
Perform cPanel specific checks when handling requests (debug)

mod_data
RFC2379 data URL generation module for the Apache HTTP server

mod_dav
DAV module for the Apache HTTP server

mod_dav_fs
DAV filesystem provider module for the Apache HTTP server

mod_dav_lock
Generic DAV locking module for the Apache HTTP server

mod_dbd
Database connection module for the Apache HTTP server

mod_deflate 
Compression filter module for the Apache HTTP server

mod_dialup
Bandwidth rate limiting module for the Apache HTTP server

mod_dumpio
Debug logging module for the Apache HTTP server

mod_env
Environment variable module for the Apache HTTP server

mod_evasive
Denial of Service evasion module for Apache

mod_expires 
Client-side cache control module for the Apache HTTP server

mod_ext_filter
Generic filter module for the Apache HTTP server

mod_fcgid
FastCGI interface module for Apache HTTP Server

mod_file_cache 
Static file caching module for the Apache HTTP server

mod_headers 
Header control module for the Apache HTTP server

mod_heartbeat
Status reporting module for the Apache HTTP server

mod_heartmonitor
Heartbeat monitoring module for the Apache HTTP server

mod_http2 
HTTP2 module for Apache HTTP Server

mod_imagemap
Server-side imagemap module for the Apache HTTP server

mod_info
Extension providing a comprehensive overview of server configuration (NOT RECOMMENDED FOR SHARED SERVERS)

mod_lbmethod_bybusyness
Busyness load-balancing module for the Apache HTTP server

mod_lbmethod_byrequests
Request load-balancing module for the Apache HTTP server

mod_lbmethod_bytraffic
Traffic load-balancing module for the Apache HTTP server

mod_lbmethod_heartbeat
Heartbeat load-balancing module for the Apache HTTP server

mod_ldap
LDAP connection-handling module for the Apache HTTP Server

mod_log_debug
Debug logging module for the Apache HTTP Server

mod_log_forensic
Forensic logging module for the Apache HTTP Server

mod_lua
Lua language extension module for the Apache HTTP Server (NOT RECOMMENDED FOR SHARED SERVERS)

mod_macro
Configuration macro module for the Apache HTTP Server

mod_mime_magic
MIME-type autosensing module for the Apache HTTP server

mod_mpm_event
Threaded event Multi-Processing Module for Apache HTTP Server

mod_mpm_itk
Run all httpd process under user's access rights.

mod_mpm_prefork
Prefork Multi-Processing Module for Apache HTTP Server

mod_mpm_worker 
Threaded worker Multi-Processing Module for Apache HTTP Server

mod_pagespeed
Apache module created by Google to help Make the Web Faster by rewriting web pages to reduce latency and bandwidth.

mod_proxy 
Proxy server module for the Apache HTTP server

mod_proxy_ajp
Apache JServ Protocol 1.3 proxy module for the Apache HTTP server

mod_proxy_balancer
Load-balancing module for the Apache HTTP server

mod_proxy_connect
CONNECT HTTP method proxy module for the Apache HTTP server

mod_proxy_express
Dynamic reverse-proxy module for the Apache HTTP server

mod_proxy_fcgi 
FastCGI proxy module for the Apache HTTP server

mod_proxy_fdpass
File descriptor-passing proxy module for the Apache HTTP server

mod_proxy_ftp
FTP proxy module for the Apache HTTP server

mod_proxy_hcheck
Dynamic health check of Balancer members (workers) for mod_proxy

mod_proxy_html
HTML and XML content filters for the Apache HTTP Server

mod_proxy_http 
HTTP/HTTPS proxy module for the Apache HTTP server

mod_proxy_scgi
SCGI module for the Apache HTTP server

mod_proxy_uwsgi
Websockets proxy module for the Apache HTTP server

mod_proxy_wstunnel 
Websockets proxy module for the Apache HTTP server

mod_ratelimit
Client bandwidth limiting module for the Apache HTTP server

mod_reflector
Filter-as-service module for the Apache HTTP server

mod_remoteip 
IP replacement module for the Apache HTTP Server

mod_reqtimeout
Request timeout module for the Apache HTTP Server

mod_request
Request body retention module for the Apache HTTP Server

mod_ruid2
Run all httpd process under user's access right.

mod_security2
Security module for the Apache HTTP Server

mod_security2-mlogc
ModSecurity Audit Log Collector

mod_sed
Regex replacement content filter module for the Apache HTTP Server

mod_session
Session interface for the Apache HTTP Server

mod_slotmem_plain
Slot-based memory module for the Apache HTTP Server

mod_socache_memcache 
Memcache-based object cache module for the Apache HTTP Server

mod_speling
URL fallback module for the Apache HTTP Server

mod_ssl 
SSL/TLS module for the Apache HTTP Server

mod_substitute
Response body substitution module for the Apache HTTP Server

mod_suexec 
Per-user/group execution module for the Apache HTTP Server

mod_suphp 
Execute PHP scripts with the permissions of their owner.

mod_unique_id
Unique request identifier module for the Apache HTTP Server (causes noticeable performance degradation)

mod_usertrack
Cookie tracking module for the Apache HTTP Server

mod_version 
Version comparing module for the Apache HTTP Server

mod_vhost_alias
Dynamic mass virtual hosting module for the Apache HTTP Server

mod_watchdog
Periodic task module for the Apache HTTP Server

mod_wsgi
A WSGI compliant interface for hosting Python based web applications on top of the Apache web server

mod_xsendfile
A small Apache2 module that processes X-SENDFILE headers


PHP Extensions:

build
Package shipping basic build configuration

libc-client 
UW C-client mail library

libc-client-devel
Development tools for programs which will use the UW IMAP library

libc-client-static
UW IMAP static library

pear 
PHP Extension and Application Repository framework

php
PHP DSO

php-bcmath 
A module for PHP applications for using the bcmath library

php-bz2
A module for PHP applications that interface with .bz2 files

php-calendar
A module for PHP applications that need date/time calculations

php-cli
Command-line interface for PHP

php-common 
Common files for PHP

php-curl
A module for PHP applications that need to interface with curl

php-dba
A database abstraction layer module for PHP applications

php-dbg
The interactive PHP debugger

php-devel 
Files needed for building PHP extensions

php-enchant
Enchant spelling extension for PHP applications

php-exif
A module for PHP applications that need to work with image metadata

php-fileinfo
A module for PHP applications that need to detect file types

php-fpm
PHP FastCGI Process Manager

php-ftp
A module for PHP applications that need full FTP protocol support

php-gd
A module for PHP applications for using the gd graphics library

php-gettext
A module for PHP applications that need native language support

php-gmp
A module for PHP applications for using the GNU MP library

php-iconv
A module for PHP applications that need to convert character sets

php-imap 
A module for PHP applications that use IMAP

php-intl
Internationalization extension for PHP applications

php-ioncube10
v10 Loader for ionCube-encoded PHP files

php-ioncube6 (PHP 7.0 only)
v6 Loader for ionCube-encoded PHP files

php-ldap
A module for PHP applications that use LDAP

php-litespeed 
LiteSpeed Web Server PHP support

php-mbstring
A module for PHP applications which need multi-byte string handling

php-mcrypt (PHP 7.1 & 7.2 only)
Standard PHP module provides mcrypt library support

php-mysqlnd
A module for PHP applications that use MySQL databases

php-odbc
A module for PHP applications that use ODBC databases

php-opcache
The Zend OPcache

php-pdo
A database access abstraction module for PHP applications

php-pgsql
A PostgreSQL database module for PHP

php-phalcon (PHP 7.1 & 7.2 only)
A full-stack PHP framework delivered as a C-extension

php-posix 
Modules for PHP scripts that need access to POSIX functions

php-process
Modules for PHP script using system process interfaces

php-pspell
A module for PHP applications for using pspell interfaces

php-recode
A module for PHP applications for using the recode library

php-snmp
A module for PHP applications that query SNMP-managed devices

php-soap
A module for PHP applications that use the SOAP protocol

php-sockets 
A module for PHP applications that need low-level access to sockets

php-sourceguardian
Loader for SourceGuardian-encoded PHP files

php-tidy
Standard PHP module provides tidy library support

php-xml 
A module for PHP applications which use XML

php-xmlrpc
A module for PHP applications which use the XML-RPC protocol

php-zip
A module for PHP applications that need to handle .zip files

runtime 
Package that handles Software Collection.

scldevel
Package shipping development files


Was this answer helpful?

« Back

We've worked with 25,506 customers in 143 countries - come & join us!
C I Wing September 19, 2024
"Support is brilliant"

Highly recommending Ethernet Servers, top notch and support is brilliant. Go for it as I am using the VPS already.

Paola Meyer September 5, 2024
"Splendid service"

All tickets are handled in timely manner. One of the best customer attentions I've had in the last 15 years. I wholeheartedly recommend ethernetservers.com for their splendid service.

Robin Gupta September 3, 2024
"Very happy"

I've been using Ethernet Servers since 2014, and they’ve always provided excellent service. I have many shared hosting accounts with them, and for the past five months, I’ve also been using their managed dedicated servers. What really stands out is their support. George, who I respectfully call Sir, is always there when I need help. He’s very knowledgeable and professional, and his assistance has made a big difference for me. If you’re looking for affordable and reliable web hosting, I highly recommend Ethernet Servers. They’ve been great to work with, and I’m very happy with their service. Thanks for everything!

David August 9, 2024
"Service is excellent"

The service is excellent. George went above and beyond. In this day and age, it is very nice to have a real person that I can deal with rather than a chatbot or some nameless/faceless tech support department as is often the case at other hosting providers. Highly recommended.


Ethernet Servers Ltd
124 City Road
London
EC1V 2NX
United Kingdom


Registered Limited Company: #09114946

Telephone:
+44 330 043 1258

Email:
hello@ethernetservers.com

Copyright © 2014 - 2024 - Ethernet Servers Ltd - All Rights Reserved.

Proudly serving customers in 143 countries since July 2014!