Introduction
The default PHP extensions for CloudLinux Alt-PHP versions can be set from "CloudLinux Manager" in WHM.
Procedure
- Log into WHM as the 'root' user.
- Navigate to "Home / Server Configuration / CloudLinux Manager."
- Click the "Selector" tab.
- Select the Alt-PHP version to set the default extensions from the "Choose default modules for" dropdown menu.
- Select the extensions that should be enabled by default.
- Deselect the extensions that should not be enabled by default.
Please note that greyed-out extensions are compiled into the interpreter and cannot be disabled. - Click the "Save" button.