V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
theKingOfTerrors
V2EX  ›  PHP

Zend Guard Run-time support missing!---这个问题应该如何解决

  •  
  •   theKingOfTerrors · 2015-11-13 14:16:05 +08:00 · 9533 次点击
    这是一个创建于 3282 天前的主题,其中的信息可能已经有所发展或是发生改变。

    朋友给了一个项目,我部署到我的服务器以后,打开首页显示的是以下内容,我的 PHP 版本是 5.6 ,是不是只有重新编译 php 5.3 或 5.4 安装 zend 这个服务才能解决这个问题,望解答,谢谢

    Zend Guard Run-time support missing!

    One more more files on this web site were encoded by ZendGuard and the required run-time support is not installed orproperly configured.

    For the Web site user

    This means that this Web server is not configured correctly to runthe files that it contains. Please contact the Web site'sadministrator/webmaster and inform them of this problem and give themthe URL you are trying to display to help them in diagnosing theproblem.

    For The Site Administrator/Web Master

    One or more files on your site were encoded with Zend Guard. Thismay be third party libraries that were provided to you by an ISV. Toallow these files to properly run you need to download and installone of the Zend guard run-time libraries. This is either ZendOptimizer or Zend Loader. The proper files can be downloaded fromhttp://www.zend.com/guard/downloads.This software is provided free of charge.

    General Disclaimer: Zend Technologies is not responsible tothe configuration and setup of web sites using Zend Guard technology.Please contact your software vendor if these components were providedby an ISV or consult your Zend Guard Users Guide if these files wereencoded by your organization.

    7 条回复    2015-11-18 14:51:14 +08:00
    kenshin912
        1
    kenshin912  
       2015-11-13 16:44:49 +08:00
    首先你要确认这个项目使用的 PHP 版本,然后安装并且开启 Zend Guard Loader.
    不同的 PHP 版本使用的 Zend Guard Loader 的文件不一样.
    theKingOfTerrors
        2
    theKingOfTerrors  
    OP
       2015-11-13 17:06:24 +08:00
    @kenshin912 好像 php 5.6 无法安装这个东西
    kenshin912
        3
    kenshin912  
       2015-11-14 09:07:30 +08:00   ❤️ 1
    @theKingOfTerrors
    不会啊,你去 Zend 官网,能找到 Zend Guard Loader for PHP5.6 的,Windows 和 Linux 都有的.
    http://www.zend.com/en/products/loader/downloads#Linux 这是 Linux 的;
    http://www.zend.com/en/products/loader/downloads#Windows 这是 Windows 的;
    theKingOfTerrors
        4
    theKingOfTerrors  
    OP
       2015-11-16 10:47:27 +08:00
    @kenshin912 我按着您说的,把 ZendGuardLoader 编译安装了,然后就出现了这个问题:
    :(
    Incompatible file format: The encoded file has format major ID 5, whereas the Loader expects 7 /home/www/PigCms/Lib/ORG/Susceptible.class.php 第 0 行.
    错误位置
    FILE: /home/www/Lib/Core/Think.class.php   LINE: 246
    TRACE
    [15-11-16 10:47:11] /home/www/Lib/Core/Think.class.php (246) halt(Incompatible file format: The encoded file has format major ID 5, whereas the Loader expects 7 /home/www/PigCms/Lib/ORG/Susceptible.class.php 第 0 行.)
    [15-11-16 10:47:11] /home/www/Lib/Core/Think.class.php (261) Think::appError(1, Incompatible file format: The encoded file has format major ID 5, whereas the Loader expects 7, /home/www/PigCms/Lib/ORG/Susceptible.class.php, 0)
    [15-11-16 10:47:11] () Think::fatalError()
    ThinkPHP3.1 { Fast & Simple OOP PHP Framework } -- [ WE CAN DO IT JUST THINK ]

    Plus :
    我用的是 thinkphp
    kenshin912
        5
    kenshin912  
       2015-11-16 21:43:49 +08:00
    @theKingOfTerrors
    我的天。。。
    程序是 PigCMS 吗?
    我是 PigCMS 的员工。。。
    你的报错应该是 PHP 版本不正确。
    PigCMS 官方给的版本对环境是如下要求:
    PHP5.4.x with Zend Guard Loader
    Apache 2.2+ 或者 IIS 7.5 ,不使用 Nginx 反向代理的情况下可以支持 Nginx
    theKingOfTerrors
        6
    theKingOfTerrors  
    OP
       2015-11-18 10:28:29 +08:00
    @kenshin912 也就是说现在还不支持 PHP 5.6 是吗
    kenshin912
        7
    kenshin912  
       2015-11-18 14:51:14 +08:00
    @theKingOfTerrors
    是的
    使用 PHP5.4.x 就 OK 了.
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5011 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:52 · PVG 11:52 · LAX 19:52 · JFK 22:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.