VPS侦探论坛

 找回密码
 注册
查看: 6821|回复: 4

关于 ZendGuardLoader[启用]

[复制链接]
发表于 2013-9-21 11:09:05 | 显示全部楼层 |阅读模式

如题,探针显示如图,不知道这样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

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-9-21 14:36:47 | 显示全部楼层


探针上的检测貌似有问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 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 Optimizer]
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=
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-9-22 19:07:30 | 显示全部楼层

回复 3# 的帖子




非常感谢~

我查了有的服务器的探针,有的就显示,不知道是不是php和ZendGuardLoader版本的问题。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-10-30 11:38:13 | 显示全部楼层

要在php.ini启用
用三楼的方法

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-12-26 13:35 , Processed in 0.027525 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表