Installing Zend Loader on CentOS Web Panel [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...

One Min Read
592 Views

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 (http://www.zend.com/en/products/guard/downloads#Linux). 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 “ZendGuardLoader.so

wget http://downloads.zend.com/guard/6.0.0/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
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 ZendGuardLoader.so /usr/lib64/php/modules

5) Now edit php.in 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/ZendGuardLoader.so
zend_loader.enable=1

6) Finally restart Apache.

server httpd restart

7) Check if module installed successfully.

php -v

or

php -m

Exit mobile version