Home  >  Article  >  Backend Development  >  Fatal error: Incompatible file format,该怎么处理

Fatal error: Incompatible file format,该怎么处理

WBOY
WBOYOriginal
2016-06-13 11:04:081256browse

Fatal error: Incompatible file format

本帖最后由 walunwine 于 2012-11-11 11:22:44 编辑 安装程序的时候出现以下代码


Fatal error: Incompatible file format: The encoded file has format major ID 0, whereas the Optimizer expects 2 in /home/ftp/1520/virbbq_om-20121110-dkr/virbbq.com/show.php on line 0


不知道是不是因为ZEND 的版本的问题?希望大家能给个解决的方法.

目前的环境是

PHP: 5.2.17
Zend Optimizer v3.3.3
MYSQL: 5.1.63

不知道这段代码到底是什么原因,字面理解就不用说了.文件用的是ID 0格式的, 但是OPTIMIZER希望是 ID 2格式的.

有说是传输的问题,我已经全部用二进制上传了,并且给了相应的权限.


各位高手给个头绪吧.
------解决方案--------------------
It happens because ScriptCase 6 was cryptographed on the new Zend Guard version to PHP 5.3 environments, therefore older Zend Optimizer/Loader versions cannot load ScriptCase PHP code. In order to make sure that the error will not occur, install ScriptCase 6 on a PHP 5.3 environment.
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn