|
相关软件包资料下载
How to Install & compile Zend Guard Loader
How to Install & compile Zend Guard Loader
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.
Quote:
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:
Quote:
# 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
Quote:
zend_optimizer.optimization_level=15 zend_extension=/usr/local/lib/php/ZendGuardLoader.so
restart apache
php -v to check it will show as
Quote:
# 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 regards
+++++++++++++++++++++++++++++++++++++++++++++++++++
php-zend-guard-loader-5.5.0-3.el6.art.x86_64.rpm php-zend-guard-loader-5.5.0-3.el6.art.i686.rpm
http://hohoqi.blog.163.com/blog/static/10795561201181221249991/
由于Zend新产品ZendGuardLoader的面世,Zend Optimizer已经不支持php5.3了,官方给出的版本是ZendGuardLoader代替,ZendGuardLoader的安装还是和原版差不多的:
64位的ZendGuardLoader
wget -c http://live.utoptoy.com/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
tar zxvf ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
cd ZendGuardLoader-php-5.3-linux-glibc23-x86_64/
mkdir -p /usr/local/zend/
cp php-5.3.x/ZendGuardLoader.so /usr/local/zend/
下文的 php.ini 文件根据实际情况修改成你服务器上的路径
cat >>/usr/local/php/etc/php.ini |
|