How to Install PHP extensions on cPanel server?

Installing PHP extension managers like Ion Cube or Zend Optimizer is very simple on cPanel servers.  Cpanel provides a script to install the extension managers and is located under  /scripts directory.

#/scripts/phpextensionmgr

There are different options to list, check status, install or remove the extensions.

To List PHP extensions

# /scripts/phpextensionmgr list

Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
SourceGuardian
PHPSuHosin

To check the status of  extensions

/scripts/phpextensionmgr status IonCubeLoader

Determining status of IonCubeLoader
IonCubeLoader extension is NOT installed

To Install

# /scripts/phpextensionmgr install ioncubeloader

Check Status, Now you can see the required installation is installed.

To uninstall

# /scripts/phpextensionmgr uninstall ioncubeloader
Was this answer helpful? 0 Users Found This Useful (0 Votes)