2016-02-29 38 views
1

我在運行使用PHP編碼的網站時出錯,並在hostmonster共享主機上使用zend optimiser。Zend optimiser - 不兼容的文件格式

這個問題出現在我從PHP 5.2更新到PHP 5.4之後。

現在,當我嘗試使用5.2誤差

"Zend Optimizer" is not installed on the Web Server and therefore cannot service encoded files

在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

的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 

回答

1

從我是什麼能夠從Zend論壇中找出問題,您的文件是針對Zend E的PHP 5.2版本編碼的ncoder。你要問您的供應商編碼爲PHP 5.4

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

HTH版本,

= C =

培訓經理的Zend