返回列表 发新帖
查看: 778|回复: 3

Zend Guard Loader的配置与安装

[复制链接]

6671

热度

1万

元宝

262

贡献

管理员

DZ专员

发表于 2014-12-15 11:20:11 | 显示全部楼层 |阅读模式
PHP 5.3 下,Zend Optimizer 已经被全新的 Zend Guard Loader 取代
------------------------------------------------
1. 下载 Zend Guard Loader 压缩包。(官方下载地址:http://www.zend.com/en/products/guard/downloads
2. 解压并提取 ZendGuardLoader.so(Linux)或 ZendLoader.dll(Windows),对应你的PHP版本。
3. 在你的 php.ini 文件添加下面一行,用来加载 Zend Guard Loader:
Linux 和 Mac OS X: zend_extension = 完整路径/ZendGuardLoader.so
Windows(非线程安全): zend_extension = 完整路径/ZendLoader.dll
4. 在 php.ini 额外新增一行,启用 Zend Guard Loader:
zend_loader.enable = 1
5. 可选:可以在 php.ini 文件添加以下行到 Zend Guard Loader 配置位置:
;禁用许可证检查(为了性能的原因)
zend_loader.disable_licensing = 0
;让 Zend Guard Loader 支持混淆级别。级别在 Zend Guard 的官方详细文档。 0 - 不启用混淆
zend_loader.obfuscation_level_support = 3
;从这个路径寻找Zend产品授权的产品许可证。欲了解更多有关如何创建一个许可证文件的信息,请参阅 Zend Guard 用户指南.
zend_loader.license_path =
6. 如果您使用 Zend debugger,请确保加载 Zend guard Loader。
7. 如果您使用 ioncube loader,请务必在它之前加载 Zend guard Loader。
8. 重新启动Web服务器。
总结一下,在php.ini中加的语句如下:
【Linux 和 Mac OS X环境下】
zend_extension="/usr/lib/php/modules/ZendGuardLoader.so"  (替换成自己的ZendGuardLoader.so路径)
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
【Windows环境下】
zend_extension="c:/php/ZendLoader.dll"  (替换成自己的ZendGuardLoader.so路径)
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3

推荐软件:

zend guard 5.5正式开源版 支持php5.2/5.3加密
https://www.cgzz8.cn/t-10650-1-1.html
(出处: 草根吧)

zend guard 6.0正式开源版 支持php5.3/5.4加密 DZ建站学习研究分享
https://www.cgzz8.cn/t-10652-1-1.html
(出处: 草根吧)

42

热度

309

元宝

0

贡献

禁止访问

发表于 2015-8-28 17:21:47 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽

12

热度

7

元宝

0

贡献

步入草根

发表于 2015-10-5 17:58:24 | 显示全部楼层
我想解密它。。。。解密不了。。。
返回列表 发新帖
 懒得打字嘛,点击右侧快捷回复【最新发布】   【赞助草根吧享更多权益】
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

收藏帖子 返回列表 搜索

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

小黑屋|手机版|草根吧