How to install EAccelerator, IonCubeLoader, Zend Optimizer, SourceGuardian, PHPSuHosin on a Linux cPanel/WHM server

How to install EAccelerator, IonCubeLoader, Zend Optimizer, SourceGuardian, PHPSuHosin on a Linux cPanel/WHM server?

How to install Zend Optimizer on a cPanel server?

cPanel/WHM presents ‘phpextensionmgr’ script through which you can install different php extensions. You can execute commands to list these extensions.

Here is the command to use with root

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


These are the available extensions, you can install any of the following on your Linux machine with WHM/Cpanel

To list the available Options and Actions, execute this command with root

root@server [~]# /scripts/phpextensionmgr –help
Usage:
phpextensionmgr [options] [action] [extension]

Options:
–help       Help message
–prefix     Installation prefix for PHP (normally /usr/local or /usr/local/php4)

Actions:
install      Install or update the extension
uninstall    Uninstall the extension
status       Display the installation status of the extension
list         Show available extensions

Now from here if you want to install “EAccelerator” you need to execute this command

To install EAccelerator, execute the command

root@server [~]# /scripts/phpextensionmgr install EAccelerator

If you want to verify whether EAccelerator is installed on your server do execute this command:

root@server [~]# php -v

 

To remove ‘EAccelerator’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall EAccelerator


**************************************************************************************

To install IonCubeLoader, execute the command

root@server [~]# /scripts/phpextensionmgr install IonCubeLoader

If you want to verify whether IonCubeLoader is installed on your server do execute this command:

root@server [~]# php -v

To remove ‘IonCubeLoader’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall IonCubeLoader

**************************************************************************************

To install EAccelerator, execute the command

root@server [~]# /scripts/phpextensionmgr install EAccelerator

If you want to verify whether EAccelerator is installed on your server do execute this command:

root@server [~]# php -v

To remove ‘EAccelerator’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall EAccelerator

**************************************************************************************

To install Zendopt, execute the command

root@server [~]# /scripts/phpextensionmgr install Zendopt

If you want to verify whether Zendopt is installed on your server do execute this command:

root@server [~]# php -v

To remove ‘Zendopt’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall Zendopt

Or

Edit the php.ini file and comment the line that states

zend_extension=”/path/to/ZendOptimizer.so”

under the ‘[Zend]‘ section. In this case, make sure you restart the httpd service for the changes to take affect.

**************************************************************************************

To install SourceGuardian, execute the command

root@server [~]# /scripts/phpextensionmgr install SourceGuardian

If you want to verify whether SourceGuardian is installed on your server do execute this command:

root@server [~]# php -v

To remove ‘SourceGuardian’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall SourceGuardian

**************************************************************************************

To install PHPSuHosin, execute the command

root@server [~]# /scripts/phpextensionmgr install PHPSuHosin

If you want to verify whether PHPSuHosin is installed on your server do execute this command:

root@server [~]# php -v

 

To remove ‘PHPSuHosin’ from the server, just execute this command

root@server[~]# /scripts/phpextensionmgr uninstall PHPSuHosin

 

Add a Comment

*