Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Plesk Zend Guard Loader Installation  (Read 2974 times)

0 Members and 1 Guest are viewing this topic.

jominj

  • Guest
Plesk Zend Guard Loader Installation
« on: December 28, 2013, 06:53:43 pm »
Zend Guard Loader translates encoded files to a format that can be parsed by the Zend Engine.

If you want to install Zend Guard Loader on cPanel control panel then you can do that from cPanel built-in EasyApache module. And for Plesk and Plain servers follow the below steps for installation
For 32 Bit Machine ::
Code: [Select]
root@server[#] cd /usr/src/
 root@server[#] wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
 root@server[#] tar -zxf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
 root@server[#] mkdir -p /usr/local/lib/zend/
 root@server[#] cd /usr/local/lib/zend/
 root@server[#] cp -p /usr/src/ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so .
 root@server[#] chown root.root ZendGuardLoader.so
Now to enable it in PHP open the file ioncube-loader.ini and add the entry for Zend as

zend_extension=/usr/local/lib/zend/ZendGuardLoader.so

after the line
 zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so

So, it should look as

 [root@server]# cat /etc/php.d/ioncube-loader.ini
 ; comment out next line to disable ionCube Zend extension in php
 zend_extension=/usr/lib/php/modules/ioncube_loader_lin_5.3.so
 zend_extension=/usr/local/lib/zend/ZendGuardLoader.so

Then finally restart the apache service

root@server
  • /etc/init.d/httpd restart


For 64 Bit Machine ::

Only change in  the 64 Bit installation is the change of download URL and rest all steps are same as of 32 Bit
root@server