The PHP extension manager on cPanel/WHM server use to install PHP extensions.
To get an up-to-date list of extensions available for installation by using the PHP Extension Manager use the below command:
/scripts/phpextensionmgr list
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:
To install the php extension use the following command:
/scripts/phpextensionmgr install <extension>
Uninstalling Extensions:
To remove the php extension use the following command:
/scripts/phpextensionmgr uninstall <extension>