Installing Zend Loader in CWP

In this tutorial we will show you how we can install zend loader on CentOS Web Panel.

How to Install Zend Loader

1) Login to SSH (Use Putty).

2) Download zend Loader ( In our case we are using PHP 5.4 and 64 bit Virtualization


3) Dowload and extract zend on server. Upon navigating to "ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/" you wil see ""

tar zxvf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
cd ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/


4) make a folder named "modules" inside "/usr/lib64/php"

mkdir /usr/lib64/php/modules
cp /usr/lib64/php/modules

5) Now edit file located in /usr/local/php/.

nano /usr/local/php/php.ini

6) Now add the below lines to the end of php.ini file. After you have copied those lines close the file (ctrl+o and ctrl+x)
;Enable Zend Loader
zend_extension = /usr/lib64/php/modules/

6) Finally restart Apache.

server httpd restart

7) Check if module installed successfully.

php -v


php -m

  • 3 Users Found This Useful
Was this answer helpful?