????️ Step-by-Step via WHM UI
-
Log in to WHM.
-
Go to EasyApache 4 (Search in the top left).
-
Click Customize next to the currently installed profile.
-
Navigate through the following sections:
-
Apache Modules
-
PHP Versions → Click your PHP version (e.g., PHP 8.1).
-
PHP Extensions
-
-
In PHP Extensions, check the boxes next to all recommended/common extensions you need. Here's a list of commonly recommended ones:
✅ Commonly Recommended PHP Extensions (General Purpose)
These are suitable for most applications including WordPress, Laravel, WHMCS, etc.:
| Extension | EasyApache 4 Package Name |
|---|---|
bcmath |
phpXX-php-bcmath |
ctype |
(Usually bundled) |
curl |
phpXX-php-curl |
dom |
phpXX-php-xml |
fileinfo |
phpXX-php-fileinfo |
gd |
phpXX-php-gd |
iconv |
phpXX-php-iconv |
intl |
phpXX-php-intl |
json |
(Usually bundled) |
mbstring |
phpXX-php-mbstring |
mysqli |
phpXX-php-mysqli |
mysqlnd |
(Usually bundled) |
openssl |
phpXX-php-openssl |
pdo |
(Usually bundled) |
pdo_mysql |
phpXX-php-mysqlnd |
soap |
phpXX-php-soap |
sockets |
phpXX-php-sockets |
xml |
phpXX-php-xml |
zip |
phpXX-php-zip |
zlib |
(Usually bundled) |
exif |
phpXX-php-exif |
opcache |
phpXX-php-opcache |
Replace phpXX with your PHP version, e.g., php81 for PHP 8.1.
???? Alternative: Install via Terminal
You can also install extensions directly from the command line: