廣告
请使用 http://www.luhui.net 網址高速訪問本站,歡迎關注微信公衆賬号:guanfu8 平台長期發布海量社科數據, 本站QQ交流群:84142868 探讨人文理想,共謀和諧世界!
黄金广告位招租,投放热线15900718107,13386070835 详情查看=》   鲁之虺:“  上网就是搜索,生活就是分类,科技服务大众,信息引领生活,地方分类站长,开启您的事业之旅。生活分类信息整体提供商:http://huike.luhui.net”。
×

鲁虺繁体中文社区

 找回密碼
 立即註冊
廣告

 

查看: 4|回復: 0

[服务器] ZendGuardLoader-php-5.3-Windows iis推荐

[複製鏈接]
發表於 2021-2-21 11:32:25 | 顯示全部樓層 |閱讀模式
廣告
搜索看看︰ZendGuardLoader-php-5.3-Windows iis推荐
廣告
ZendGuardLoader-php-5.3-Windows iis推荐.zip - ZIP 压缩文件, 解包大小为 136,203 字节




PHP5.3、PHP5.4安装ZendOptimizer


http://www.veryhuo.com 烈火网 2012-09-27 投递稿件


现在很多PHP程序都需要ZendOptimizer环境,但是ZendOptimizer在PHP5.2之后已经被支持,那怎么办,Zend也不会这么做,原来PHP5.3开始ZendOptimizer正式改为Zend Guard Loader。

Zend Guard Loader的发布,而且Zend Optimizer不会再更新,并且由于差异很大使用Zend Guard加密代码时将提示你是否使用php5.3,如果使用5.3那么代码就无法在php5.2上运行。

Zend Guard Loader安装说明
1。下载Zend Guard Loader包。(官方地址:http://www.zend.com/en/products/guard/downloads)

Linux:
x86:http://downloads.zend.com/guard/ ... glibc23-i386.tar.gz
x64:http://downloads.zend.com/guard/ ... ibc23-x86_64.tar.gz

Windows:

http://downloads.zend.com/guard/ ... php-5.3-Windows.zip
2. 并提取ZendGuardLoader.so(Linux)或ZendLoader.dll(Windows)上传到服务器。

3. 加载ZendGuardLoader,配置PHP.INI
例子:
zend_extension=C:\web\PHP\ext\ZendLoader.dll
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
下面逐一说明:

注意windows版的只支持NTS(非线程安全)版的PHP5.3,即phpinfo中Thread Safety为disabled的!

在你的php.ini文件中添加以下行:

Linux和Mac OS X:zend_extension=<ZendGuardLoader.so的绝对路径>
Windows的非线程安全的:zend_extension=<ZendLoader.dll的绝对路径>
4. 添加下面这行加载ZendGuardLoader:

;启用加载编码脚本。默认开启
zend_loader.enable=1
5. 可选:配置ZendGuardLoader

;禁用检查授权(出于性能原因)
zend_loader.disable_licensing=0
;配置混淆水平 0 – 不支持混淆
zend_loader.obfuscation_level_support=3
;配置寻找授权文件的路径
zend_loader.license_path=
6. 如果你同时使用Zend debugger,请保证加载Zend guard Loader后再加载Zend debugger

7. 如果你同时使用Ioncube loader,请保证加载Ioncube loader后再加载Zend guard Loader

8. 重启Web服务。

如果在phpinfo中看到如下内容(不同的版本可能会有所不同):

This program makes use of the Zend Scripting Language Engine:Zend Engine v2.4.0, Copyright (c) 1998-2011 Zend Technologies
说明安装已经成功!


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 aditional 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.









遊客,如果您要查看本帖隱藏內容請回復



廣告
您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

廣告

廣告
操作系统 Fuchsia OS  |Microsoft Windows  |Android  |Chrome OS  |Novell  |Linux  |Mac OS X  |Unix  |FreeBSD  | Ubuntu
廣告

QQ|關于我們|聯繫我們|合作共赢|免責聲明|隐私条款|Archiver|手機版|拘留所|申請友鏈|付款方式|鲁虺繁体中文社区 |贊助我們 -

GMT+8, 2025-5-12 05:03 , Processed in 0.109200 second(s), 22 queries , WinCache On.

Powered by HCMS 1.0

© 2004-01-11 鲁虺文化网 版权所有

快速回復 返回頂部 返回列表