happydagui: 在php-5.3.17-nts-Win32-VC9-x86上安装成功,对于thread safe版本则不适用

PHP 5.3.X 开始 Zend Optimizer 正式被 Zend Guard Loader 取代了。但是安装方法有所不同,那么我就来给大家介绍下怎么安装 Zend Guard Loader 吧。

Zend Guard Loader (Runtime for PHP 5.3) 5.5.0

下载地址:http://downloads.zend.com/guard/5.1.0EA/ZendGuardLoader-php-5.3-Windows.zip

下载好后解压压缩包,找到 ZendGuardLoader-php-5.3-Windows\ZendServer\lib\loader\php-5.3.x 目录下的 ZendLoader.dll 文件,将它放到你的php目录下ext下,再编辑php.ini文件,添加一段代码(如):

[Zend.loader]

zend_extension="d:/apps/php-5.3.17-nts-Win32-VC9-x86/ext/ZendLoader.dll"

zend_loader.enable=1

zend_loader.disable_licensing=1

zend_loader.obfuscation_level_support=3

zend_loader.license_path=

附英文原文

Zend Guard Loader installation instructions
-------------------------------------------
1. Extract the Zend Loader package.
2. Locate and extract the ZendGuardLoader.so (Linux) or ZendLoader.dll (Windows) that corresponds to your php version.
3. Add the following line to your php.ini file for loading the ZendGuardLoader:
Linux and Mac OS X: zend_extension=<full_path_to_ZendGuardLoader.so>
Windows non-thread safe: zend_extension=<full_path_to_ZendLoader.dll>
4. Add an additional line to your php.ini for enabling ZendGuardLoader ; Enables loading encoded scripts. The default value is On
zend_loader.enable=1
5. Optional: following lines can be added your php.ini file for ZendGuardLoader configuration:
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
zend_loader.license_path=
6. If you use Zend debugger as well, please make sure to load it after the Zend guard Loader
7. If you use ioncube loader, please make sure to load it before Zend guard Loader
8. Restart your Web server. 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

来源: <http://blog.163.com/yong5123@126/blog/static/4551606220120532328139/>