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

2015-11-16 11:49:18 +08:00
 theKingOfTerrors

解决了 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 的

5196 次点击
所在节点    PHP
4 条回复
freezex
2015-11-16 13:33:01 +08:00
加解密的版本不兼容,要么用 zendguard7 重新加密一遍,要么换低版本的 loader(这个估计需要 php 降级)
theKingOfTerrors
2015-11-16 13:36:49 +08:00
@freezex 那我怎么查看当前加密的版本?
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
2015-11-18 10:29:14 +08:00
@freezex 嗯,好的,谢谢

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/236493

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX