简体   繁体   English

Zend optimiser-不兼容的文件格式

[英]Zend optimiser - Incompatible file format

I have an error while running my website which coded with PHP and uses zend optimiser on hostmonster shared hosting. 我的网站运行PHP并在hostmonster共享主机上使用zend optimiser时,运行我的网站时出现错误。

The issue appeared since I updated from PHP 5.2 to PHP 5.4. 自从我从PHP 5.2更新到PHP 5.4以来,这个问题就出现了。

Now when I try to use 5.2 the error is 现在当我尝试使用5.2时,错误是

"Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files Web服务器上未安装“ Zend Optimizer”,因此无法为编码文件提供服务

On PHP 5.4 the error is 在PHP 5.4上,错误是

Fatal error: Incompatible file format: The encoded file has format major ID 65535, whereas the Loader expects 5 in /home1/mylingui/public_html/admin/config/ProjectConfig.php on line 0 致命错误:不兼容的文件格式:编码文件的格式主要ID为65535,而Loader希望第0行的/home1/mylingui/public_html/admin/config/ProjectConfig.php中为5。

php.ini php.ini中

zend_loader.disable_licensing=0
zend_extension=/usr/php/54/usr/lib64/php/modules/ioncube_loader_lin.so
zend_extension=/usr/php/54/usr/lib64/php/modules/ZendGuardLoader.so

From what I was able to figure out from the Zend forums, your file is encoded for the PHP 5.2 version of Zend Encoder. 根据我在Zend论坛上的了解,您的文件是针对Zend Encoder的PHP 5.2版本进行编码的。 You need to ask your vendor for a version encoded for PHP 5.4 您需要询问您的供应商以PHP 5.4编码的版本

( http://forums.zend.com/viewtopic.php?f=57&t=112658 ) http://forums.zend.com/viewtopic.php?f=57&t=112658

HTH, HTH,

=C= = C =

Manager of Training for Zend Zend培训经理

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM