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

Incompatible file format: The encoded file has format major ID 5, whereas the Loader expects 7

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

    解决了 Zend Guard Run-time support missing 的问题后,刷新页面,出现了
    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 11:43: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 11:43: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 11:43:11 Think::fatalError()
    ,这个问题应该怎么解决,我的 PHP 版本是 5.6 ,安装的 ZendGuardLoader 的版本也是 64 位支持 php5.6 的

    4 条回复    2015-11-18 10:29:14 +08:00
    freezex
        1
    freezex  
       2015-11-16 13:33:01 +08:00 via Android
    加解密的版本不兼容,要么用 zendguard7 重新加密一遍,要么换低版本的 loader(这个估计需要 php 降级)
    theKingOfTerrors
        2
    theKingOfTerrors  
    OP
       2015-11-16 13:36:49 +08:00
    @freezex 那我怎么查看当前加密的版本?
    freezex
        3
    freezex  
       2015-11-16 15:48:51 +08:00
    major ID 就是了

    之前碰到过一次,我的加密版本更低,因为是买的,对方也提供不了高版本的加密,最后不得以把 PHP 降到 5.2 才搞定

    你这个 ID5 的我查了一下估计是要降到 5.4
    http://forums.zend.com/viewtopic.php?f=57&t=116408
    theKingOfTerrors
        4
    theKingOfTerrors  
    OP
       2015-11-18 10:29:14 +08:00
    @freezex 嗯,好的,谢谢
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1077 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:10 · PVG 07:10 · LAX 16:10 · JFK 19:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.