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

2015-11-13 14:16:05 +08:00
 theKingOfTerrors

朋友给了一个项目,我部署到我的服务器以后,打开首页显示的是以下内容,我的 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.

9546 次点击
所在节点    PHP
7 条回复
kenshin912
2015-11-13 16:44:49 +08:00
首先你要确认这个项目使用的 PHP 版本,然后安装并且开启 Zend Guard Loader.
不同的 PHP 版本使用的 Zend Guard Loader 的文件不一样.
theKingOfTerrors
2015-11-13 17:06:24 +08:00
@kenshin912 好像 php 5.6 无法安装这个东西
kenshin912
2015-11-14 09:07:30 +08:00
@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
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
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
2015-11-18 10:28:29 +08:00
@kenshin912 也就是说现在还不支持 PHP 5.6 是吗
kenshin912
2015-11-18 14:51:14 +08:00
@theKingOfTerrors
是的
使用 PHP5.4.x 就 OK 了.

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

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

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

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

© 2021 V2EX