How to install Zend Optimizer on a cPanel server?

cPanel offers ‘phpextensionmgr’ script through which you can install various extensions. To list the available PHP extensions, execute the command as root
root@server [~]# /scripts/phpextensionmgr list
Available Extensions:
EAccelerator
IonCubeLoader
Zendopt
SourceGuardian
PHPSuHosin

To list the available Options and Actions, execute

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

To install Zend Optimizer, execute the command

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

To verify whether Zend Optimizer is installed, execute:

root@server [~]# php -v

You can install the other available extensions using the same command, just replace ‘Zendopt’ with the extension name you wish to install

How to install Zend Optimizer on a cPanel server?
Tagged on:

Leave a Reply

Your email address will not be published. Required fields are marked *

Fork me on GitHub