Fatalerror: Incompatiblefileformat

Source: Internet
Author: User
Fatalerror: The following code appears when Incompatiblefileformat is installed.


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


I don't know if it's because of the ZEND version? I hope you can provide a solution.

The current environment is

PHP: 5.2.17
Zend Optimizer v3.3.3
MYSQL: 5.1.63

I don't know why this code is written. I don't need to say it literally. the file uses the ID 0 format, but OPTIMIZER wants it to be in the ID 2 format.

It is a transmission problem. I have uploaded all the files in binary format and granted the corresponding permissions.


Give me a clue.


Reply to discussion (solution)

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.

Other people's solutions. In English, translate it by yourself.

It occurs because 6 ScriptCase is in the PHP 5.3 environment of the new Zend Guard version of cryptographed. Therefore, the old Zend Optimizer/loader version cannot load the PHP code ScriptCase. To ensure that no error occurs, ScriptCase6 is installed in a PHP5.3 environment.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.