The Zend Guard Loader runs PHP scripts that are encoded with Zend Guard. The Zend Guard Loader is a PHP extension that runs outputs created by Zend Guard, which provides an easy way to encode, obfuscate and license PHP code via an Eclipse-based interface or from the command line.
The Guard Loader extension must be installed on each Web server that runs files that were encoded with, or use, Zend Guard licenses.
Note:
You can also use the Zend Optimizer that also includes the Guard Loader extension for code written in PHP 5.2. The Zend Optimizer is available as a free download from PHP Web Application Server – PHP Development tools – PHP Training – Zend.com.
The Zend Guard Loader translates encoded files to a format that can be parsed by the Zend Engine. This runtime process uses the Zend engine as a trigger to start the Zend Guard Loader component. Zend Guard is a separate product available from Zend that provides an easy way to encode, obfuscate and license PHP code via an Eclipse-based interface or from the command line. To view the API, click Zend Guard Loader.
To install it you need to follow the below mentioned steps:

# wget http://downloads.zend.com/guard/5.5….23-i386.tar.gz
# tar -zxvf ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz
# cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so to /usr/local/lib/php
Now after that open php.ini file and put a
zend_optimizer.optimization_level=15
zend_extension=/usr/local/lib/php/ZendGuardLoader.so
restart apache
php -v to check it will show as

# php -v
PHP 5.3.8 (cli) (built: Oct 5 2011 18:13:49)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
=============================================================
Thats it Done
Thanks and regardszend-logo-big

Leave a Reply

Your email address will not be published. Required fields are marked *