Plesk Zend Guard Loader Installation

Zend Guard Loader translates encoded files to a format that can be parsed by the Zend Engine.
Zend Guard Loader is a PHP extension which executes the output created by Zend Guard, and provides the easiest way to encode, obfuscate and license PHP code via an Eclipse-based interface or from the command line.

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 ::

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[#] wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz

That’s all easy isn’t it.