The PHP extension manager on cPanel/WHM server makes it easier for you to install PHP extensions.
To get an up-to-date list of extensions available for installation using the PHP Extension Manager use the below command:
# /scripts/phpextensionmgr list |
♦ EAccelerator ♦ IonCubeLoader ♦ Zendoptmr ♦ SourceGuardian ♦ PHPSuHosin
Checking the Installation Status of an Extension
Run the following command in order to check the installed status of an extension. Replace the word <extension> with the name of extension:
# /scripts/phpextensionmgr status <extension> |
Installing Extensions
The PHP installation process is very simple. To install use the following command replacing <extension> with an available extension from the list command above:
# /scripts/phpextensionmgr install <extension> |
Uninstalling Extensions
It is very easy to remove an extension, simply change install command to uninstall and the extension will be removed.
# /scripts/phpextensionmgr uninstall <extension> |