相关软件包资料下载
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.
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. |
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 |
zend_optimizer.optimization_level=15 zend_extension=/usr/local/lib/php/ZendGuardLoader.so |
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 |
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 Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
+++++++++++++++++++++++++++++++++++++++++++++
CentOS安装php加速软件Zend Guardhttp://www.mouyao.com/archives/1928.html
说明:PHP5.3以上的版本不再支持Zend Optimizer,已经被全新的 Zend Guard Loader 取代,下面是安装Zend Guard具体步骤,以下操作均在终端命令行执行
关闭SELINUX
vi /etc/selinux/config
#SELINUX=enforcing #注释掉
#SELINUXTYPE=targeted #注释掉
SELINUX=disabled #增加
:wq 保存,关闭
shutdown -r now #重启系统
1、下载Zend Guardcd /home
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz #32位
wget http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz #64位
2、安装Zend Guard
mkdir /usr/zend #建立Zend Guard安装目录
tar xvfz ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz #解压安装文件
cp ZendGuardLoader-php-5.3-linux-glibc23-i386/php-5.3.x/ZendGuardLoader.so /usr/zend/ #拷贝文件到安装目录
rm -rf /home/ZendGuardLoader-php-5.3-linux-glibc23-i386* #删除安装包
3、配置Zend Guard
cp /etc/php.ini /etc/php.inibak #修改之前先备份
vi /etc/php.ini #编辑文件
在最后位置添加以下内容
[Zend Guard]
zend_extension=/usr/zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
4、重启web服务器
/etc/init.d/httpd restart
至此,Zend Guard安装完成。
+++++++++++++++++++++++++++++++++++++++++++++
RHEL6 下 LAMP配置 php5.3.6支持Zend Guard问题
http://zhidao.baidu.com/question/299490544.html
按照网上的教程 下载了 ZendGuardLoader-php-5.3-linux-glibc23-i386.tar.gz和php-5.3.6.tar.gz 配置完成后 php是正常的 现在我要配置 zend的 mkdir -p /usr/local/zend mv ZendGuardLoader.so /usr/local/zend/ vi /usr/local/php/lib/php.ini 然后在php.ini 最后我也加入了 [zend] zend_optimizer_optimization_level=15 zend_extension=/usr/local/zend/ZendGuardLoader.so 但phpinfo(); 中 还是没有出现 zend的信息 请问这是怎么回事 还需要修改什么参数 请高手帮忙~~~~~~~
www_xinui_com 老兄让我来告诉你吧 我已经试验成功了 问题在编译httpd的时候 --with-mpm=prefork 这个必须这样设定 否则导致zend3.3.9 或 ZendGuardLoader无法加载
dzminglong2014-03-13 21:06:25
我没装apache,我安装的nginx,也是出现了Failed loading /usr/local/php/lib/php/extensions/ZendGuardLoader.so: /usr/local/php/lib/php/extensions/ZendGuardLoader.so: undefined symbol: compiler_globals,请问,有解决办法吗?