Pages

Friday, April 12, 2013

How to install extension Managers on Cpanel Server

Installing extension managers like Zend Optimizer or Ion Cube loader without compiling apache on cPanel server is so easy, you can install them using just one script, and the script is located under the normal /scripts directory on Cpanel servers :

/scripts/phpextensionmgr
It provides the options to list, check status , install or remove any of the extensions.
Using below command you can get the list of extension managers available for installation :

root@CpanelServer[~]# /scripts/phpextensionmgr list
Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
SourceGuardian
PHPSuHosin

Now you can check status of any extension using the below command :
root@CpanelServer[~]# /scripts/phpextensionmgr status IonCubeLoader


Determining status of IonCubeLoader
IonCubeLoader extension is NOT installed
root@CpanelServer[~]#

Now I can see that IonCubeLoader is not installed, To install the extension see below :
root@CpanelServer[~]# /scripts/phpextensionmgr install IonCubeLoader
Installing IonCubeLoader
Determining PHP version
Installing IonCube Loader binaries
Activating IonCube Loader extension in /usr/local/lib/php.ini
IonCube Loader extension activated
Now you can check status of any extension using the below command :

root@CpanelServer[~]# /scripts/phpextensionmgr status IonCubeLoader
Determining status of IonCubeLoader
IonCubeLoader extension is installed
Also you can check php version to check if its get complied with php.

Now you can see the required installation is installed.

No comments:

Post a Comment