How to Install Zend optimizer on cPanel WHM Server

How to Install Zend optimizer on cPanel/WHM Server

 

Zend optimizer is a PHP extension used on linux servers to improve PHP performance and to run PHP scripts encoded by Zend Guard. Zend optimizer helps in faster execution of PHP scripts. Do the below steps to install Zend optimizer on cPanel/WHM Server.

Method 1

1. Log into cPanel server via SSH as root

2. Run the cPanel Script ‘/scripts/installzendopt’ to install Zend optimizer

This method takes only few seconds to Install Zend optimizer extension.

3. Type the Command ‘php -m | grep -i zend’ to check whether it is installed

Command : /scripts/installzendopt
 

[root@server]# /scripts/installzendopt
Installing Zendopt
Skipping install to /usr/local/php4, missing php.ini
Determining PHP version
Installing Zend Guard/Optimizer 7.0 for PHP 5.6
Activated Zend Guard/Optimizer

[root@server]# php -m | grep -i zend
Zend Guard Loader
[Zend Modules]
Zend Guard Loader

 
Method 2 :

1. Log into cPanel server via SSH as root

2. Run the command ‘scripts/phpextensionmgr install Zendopt’ to Install Zend optimizer

3. Create a phpinfo file to check whether it is installed correctly

Command : scripts/phpextensionmgr install Zendopt
 

[root@server]# /scripts/phpextensionmgr install Zendopt
Installing Zendopt
Skipping install to /usr/local/php4, missing php.ini
Determining PHP version
Installing Zend Guard/Optimizer 7.0 for PHP 5.6
Activated Zend Guard/Optimizer

 
Method 3

1. Log into Server as root

2. Run easyapache /scripts/easyapache to install Zend Optimizer

3. Under ‘Exhaustive Options’ select ‘Zend Guard Loader 7.0 for PHP’ and recompile PHP

Command : /scripts/easyapache
 

Zend Guard Easyapache

Zend Guard Easyapache

You can also run easyapache from WHM.

1. Log in to WHM using root password

2. Click on ‘EasyApache’ under ‘Software’

Home » Software » EasyApache

3. Select ‘Zend Guard Loader 7.0 for PHP’

4. Click on ‘Save and Build’
 

Zend Guard Install WHM

Zend Guard Install WHM