1. 下载 Zend Guard Loader 压缩包。如今的版本是Zend Guard Loader (Runtime for PHP 5.3) 5.5.0
官方下载地址:http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zipphp
2. 解压并提取 ZendLoader.dll。安全
3. 在你的 php.ini 文件添加下面一行,用来加载 Zend Guard Loader:
Windows(非线程安全):
zend_extension = 完整路径/ZendLoader.dll服务器
4. 在 php.ini 额外新增一行,启用 Zend Guard Loader:性能
zend_loader.enable = 1spa
5. 可选:能够在 php.ini 文件添加如下行到 Zend Guard Loader 配置位置:线程
;禁用许可证检查(为了性能的缘由)
zend_loader.disable_licensing = 0debug
;让 Zend Guard Loader 支持混淆级别。级别在 Zend Guard 的官方详细文档。 0 – 不启用混淆
zend_loader.obfuscation_level_support = 3ip
;从这个路径寻找Zend产品受权的产品许可证。这里配置为空便可。
zend_loader.license_path =文档
6. 若是您使用 Zend debugger,请确保加载 Zend guard Loader。get
7. 若是您使用 ioncube loader,请务必在它以前加载 Zend guard Loader。
8. 从新启动Web服务器。
总起来讲,就是在php.ini文件后面加上这一段
[Zend.loader]zend_loader.enable=1zend_loader.disable_licensing=0zend_loader.obfuscation_level_support=3zend_loader.license_path=zend_extension="D:\Program Files\PHPWEB\php\ext\ZendLoader.dll"