>  기사  >  백엔드 개발  >  Fatal error: Incompatible file format,该怎么处理

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

WBOY
WBOY원래의
2016-06-13 11:04:081258검색

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.
성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.