lzc2006 发表于 2013-9-21 11:09:05

关于 ZendGuardLoader[启用]

如题,探针显示如图,不知道这样zend是否安装正确,是否启用,如没有启用,请指点,谢谢大家。php -v显示如下
PHP 5.4.19 (cli) (built: Sep 21 2013 09:34:14)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2013, by Zend Technologies

licess 发表于 2013-9-21 14:36:47

探针上的检测貌似有问题

clang 发表于 2013-9-21 23:12:33

已经启用了,这个问题我问过探针的作者,作者给我的答复是:



你好,我的判断方法是根据zend自带的安装说明中的配置来进行的,以下是zend官方的安装说明文档(注意看第4点):






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.



下面是我自己修改的php.ini的内容:


zend_extension=/usr/local/zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=

lzc2006 发表于 2013-9-22 19:07:30

回复 3# 的帖子

非常感谢~

我查了有的服务器的探针,有的就显示,不知道是不是php和ZendGuardLoader版本的问题。

uechun 发表于 2013-10-30 11:38:13

要在php.ini启用
用三楼的方法
页: [1]
查看完整版本: 关于 ZendGuardLoader[启用]