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"