php手工配置Zend Guard Loader

php手工配置Zend Guard Loader

1. 下载 Zend Guard Loader 压缩包。http://downloads.zend.com/guard/5.5.0/ZendGuardLoader-php-5.3-Windows.zip

2. 解压并提取 ZendLoader.dll,放到PHP的ext目录下(也可以放到任何目录)。

3. 在php.ini中增加:

[Zend.loader]

zend_extension=”d:\php\ext\ZendLoader.dll”

zend_loader.enable=1

zend_loader.disable_licensing=0

zend_loader.obfuscation_level_support=3

zend_loader.license_path=

如果安装成功,可以在phpinfo里看到 Zend Guard Loader信息

----------------------------------------------------------------------------------------

参数解释:

;禁用许可证检查(为了性能的原因)

zend_loader.disable_licensing = 0

;让 Zend Guard Loader 支持混淆级别。级别在 Zend Guard 的官方详细文档。 0 – 不启用混淆

zend_loader.obfuscation_level_support = 3

;从这个路径寻找Zend产品授权的产品许可证。这里配置为空即可。

zend_loader.license_path =

注意:

如果您使用 Zend debugger,请确保加载 Zend guard Loader。

如果您使用 ioncube loader,请务必在它之前加载 Zend guard Loader。

改包里的ZendLoader.dll 只能用于 非安全线程(non thread safe)的PHP。

转载自:www.oaxueyuan.com/windows-iis-php5-3-x-zend-guard-loaders-configuration.html

其他参考:http://www.51752.com/archives/126.html