如何查看自己的主机是否安装了Zend Guard zendloader.dll组件

Zend&Guard&Loader&安装说明
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 ZendGuardL 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.
zend监视载入程序安装说明
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - -
1。解压缩Zend Loader包
2。查找和提取ZendGuardLoader.so(Linux)或ZendLoader.dll(Windows)并对应于你的php版本。
3。加入下面一行到你的php.ini文件以便加载ZendGuardLoader:
Linux和Mac OS X :&
zend_extension=&full_path_to_ZendGuardLoader.so&
Windows 非线程安全:
zend_extension=&full_path_to_ZendLoader.dll&
4。附加一行到你的php.ini以便可以加载ZendGuardL
允许加载编译脚本.这个默认值是
&& zend_loader.enable = 1
5。可选:以下几行可添加你的php.ini文件中配置ZendGuardLoader:
禁止许可证检查(为了性能原因)
&&& zend_loader.disable_licensing =
Zend Guard Loader支持模糊处理层.这个层的详细说明参见Zend的官方文档.0-模糊处理不被允许
&&& zend_loader.obfuscation_level_support =
; 路径用于授权的Zend产品定位许可证。想要获取更多关于创建许可证文件的信息,可参见Zend Guard用户指南
zend_loader.license_path =
6。如果你使用调试器,请确定在Zend guard Loader之后载入它.
7。如果你使用ioncube装载程序,请确定在Zend guard Loader之前载入它.&
注:ionCube 一款类似zend的PHP加密/解密工具
8。重启你的网络服务器。
已投稿到:
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。查看: 923|回复: 13
Zend Optimizer版本不对
各位大虾:
我准备在新买的Linux VPS虚拟专用服务器上安装Discuz,在检查环境时通过官方提供的方法查出我的Zend版本好像不对
_173444.png (5.4 KB, 下载次数: 0)
05:39 上传
我问过主机服务商,他们的答复是:
Unfortunately ZendOptimizer for&&PHP&&is not yet released. As a workaround, you can either switch your scripts to ionCube encoded version or you need to downgrade PHP version to 5.2.X. Once the php is downgraded, its possible to install& &ZendOptimizer in it.
各位高手看看到底是不是这问题?我试过让技术支持帮忙安装最新版的Zend Optimizer,他们也装不上去。
先谢过了!
详见环境搭建专版的相关Linux环境搭建教程操作!
本帖最后由 南京老魏 于
06:56 编辑
需要先升级php到5.3 。
更高一级的ZO才能加载。
用心等待 发表于
详见环境搭建专版的相关Linux环境搭建教程操作!
您行行好,给个链接行吗?多谢!
南京老魏 发表于
需要先升级php到5.3 。
更高一级的ZO才能加载。
又有劳魏兄您回答,多谢!
我现在的php就是5.3.13版......您的意思是不是我要装那个Zend Guard Loader (Runtime for PHP 5.3)?
那你要装什么版本的,如果要用ZendOptimizer需改装php5.2.x版本,
本帖最后由 南京老魏 于
08:23 编辑
竟功 发表于
又有劳魏兄您回答,多谢!
我现在的php就是5.3.13版......您的意思是不是我要装那个Zend Guard Loader ...
对对,好像不需要了。
安装Zend Optimizer
# cd /usr/local/src
# tar zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
# cd ZendOptimizer-3.3.3-linux-glibc23-i386
# ./install
Please specify the location for installing
Zend Optimizer:
这里填写Zend的安装路径,按下面写即可
/usr/local/Zend
Confirm the location of your
php.ini file:
这里填写的是php.ini的路径,按下面写即可
/usr/local/etc
Are you using Apache Web server?
Apache的控制组件路径
/usr/local/apache/bin/apachectl
是否重启Apache,YES,回车
看看有没有对您帮助
用心等待 发表于
http://www.discuz.net/forum.php?mod=viewthread&tid=1189147
看看有没有对您帮助
xiaoyuwxz 发表于
那你要装什么版本的,如果要用ZendOptimizer需改装php5.2.x版本,
我想按照Discuz官方要求装Zend Optimizer 2.5.7以上......不过貌似php5.3以上要装这个:
Zend Guard Loader (Runtime for PHP 5.3)
/en/products/guard/downloads
不知道是不是这样?
Powered byWindows下IIS+PHP5.3.x zend guard loader 的配置方法
PHP 5.3 下,Zend Optimizer 已经被全新的 Zend Guard Loader 取代 下面介绍Windows下IIS+PHP5.3.x的配置方法: 1. 下载 Zend Guard Loader 压缩包。现在的版本是Zend Guard Loader (Runtime for PHP 5.3) 5.5.0 官方下载
PHP 5.3 下,Zend Optimizer 已经被全新的 Zend Guard Loader 取代
下面介绍Windows下IIS+PHP5.3.x的配置方法:
1. 下载 Zend Guard Loader 压缩包。现在的版本是Zend Guard Loader (Runtime for PHP 5.3) 5.5.0
官方下载地址:
2. 解压并提取 ZendLoader.dll。
3. 在你的 php.ini 文件添加下面一行,用来加载 Zend Guard Loader:
Windows(非线程安全):
zend_extension = 完整路径/ZendLoader.dll
4. 在 php.ini 额外新增一行,启用 Zend Guard Loader:
zend_loader.enable = 1
5. 可选:可以在 php.ini 文件添加以下行到 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 =
6. 如果您使用 Zend debugger,请确保加载 Zend guard Loader。
7. 如果您使用 ioncube loader,请务必在它之前加载 Zend guard Loader。
8. 重新启动Web服务器。
总起来说,就是在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=
最后我们来测试下安装是否成功,重启IIS,用php探针来查看或者用 &?php phpinfo(); ?&
(责任编辑:admin)
------分隔线----------------------------到目前发稿截止,Zend Optimizer目前的版本为3.3.3(Windows)、3.3.9(Linux),且均不支持PHP5.3及以上版本。
很多同学包括我自己,一直也是被B的只能使用PHP5.2版本,当然,因为DEDE对PHP5.3的支持不好,也没办法,只能停在5.2时代。
根据官方的说法,一直是这样:由于PHP5.3的升级功能太多,ZP更新以后,也无法再往下兼容低版本的Zeng Guard加密的PHP文件,甚至不支持PHP5.2.13以下版本的PHP环境。
总结成一句话,那就是“PHP版本更新太快了,已经没必要向下兼容低版本的Zend Guard和PHP5.2及以下版本了”。就如同PHP5.3不能兼容PHP5.2一样,很多函数被取消,很多同学认为这是PHP5时代和PHP6时代的分水岭。
PHP6就要来了。
话说了这么多,最重要的一点,其实PHP5.3也可以安装Zend Optimizer的。因为Zend公司专门针对5.3版本出了专用版本。那就是传说中的“Zend Guard Loader (Runtime for PHP 5.3)”
目前推测这个版本只能用于5.3系列,其官方网站已经明确列出5.2和5.3系的下载地址:/en/products/guard/downloads。
PHP5.3安装Zend Optimizer,已经被正式改成了“Zend Guard Loader”,简单来说,就是不需要安装软件,而是直接在php.ini中调用组件(扩展)即可。
有一点需要说明,我在Zend论坛看到这么一句Note:
&&& Please note this Loader will not load PHP 5.2 code encoded with previous version of Guard. All PHP files must be re-encoded to run in PHP 5.3.
简单理解就是这个版本不支持PHP5.3以下版本的Zend Guard编译,所有文件要重新按5.3版本进行重新编译。那这里的Zend Guard版本,就要求升级为最新版,因为我们知道Zend Guard4只能按PHP4、PHP5两个版本加密,而最新版本的Zend Guard加密时可选的PHP版本只剩下php5.2、PHP5.3两个版本了。
从这里可以看出,如果要使用PHP5.3+Zend Guard的升级成本是非常高的。我已经开始隐隐蛋疼了,因为哥住的不是77元的二居室。
目前最新的Zend Guard 为去年年底发布的5.5版本,下载地址:/guard/5.5.0/ZendGuard-5_5_0.exe,这里有Key(哥们翻遍了整个互联网才找到的):/archives/1000433。如果不出意外,以后版本中Zend Optimizer将不复存在,取代的就是“Zend Guard Loader”,不管什么优化、加速、保护功能全通过此功能加载。听起来好像类似于App扩展。
Guard Loader 的用法和以前没什么区别,都是在php.ini“最末尾”添加一句命令引入文件就行。
zend_extension=
说一下这里为什么要使用“最末尾”,这里是个人建议,因为用时候会出一些莫名的问题,如不能正常载入Zend,不能读取PHP文件,尤其表现在和eAccelerator载入顺序冲突等。
以下是操作的shell片段:
第一步,通过探针或者PHPinfo查询到当前加载的php.ini
&&& Loaded Configuration File:/etc/php5/apache2/php.ini
第二步,下载扩展
&&& wget /guard/5.5.0/ZendGuardLoader-php-5.3-linux-glibc23-x86_64.tar.gz
Windows下为
&&& /guard/5.1.0EA/ZendGuardLoader-php-5.3-Windows.zip
第三步,解压,提取ZendGuardLoader.so,Windows下叫ZendLoader.dll,放到PHP的ext目录下(推荐,不是必须)
第四步,编辑php.ini,添加相关配置信息
&&& vi /etc/php5/apache2/php.ini
&&& zend_extension=/usr/local/zend/ZendGuardLoader.so
&&& [Zend.loader]
&&& zend_loader.enable=1
&&& zend_loader.disable_licensing=1
&&& zend_loader.obfuscation_level_support=3
&&& zend_loader.license_path=
&&& zend_extension=&c:\php\ext\ZendLoader.dll&
最后,重启Webserver。
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:263068次
积分:6982
积分:6982
排名:第1016名
原创:415篇
转载:148篇
评论:41条
文章:10篇
阅读:4043
(2)(10)(4)(13)(36)(20)(4)(7)(9)(14)(3)(29)(36)(38)(5)(10)(5)(33)(69)(5)(22)(71)(29)(20)(38)(11)(20)

我要回帖

更多关于 windows loader 的文章

 

随机推荐