您的位置:首页 > 编程语言 > PHP开发

解决Zend加密的PHP页面出现Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in

2016-04-06 11:13 1156 查看
打开php页面出现如下错误:

Fatal error: Incompatible file format: The encoded file has format major ID 1, whereas the Loader expects 4 in

可能是以下原因:
1.未安装php解密扩展;
2.未安装相应的php解密扩展。

由于Zend Guard 5.1版本更新了加密算法,5.1版本与5.0版本分别使用了两套相互不兼容的加密算法,对应的解密算法也不再兼容。

因此,用Zend Guard 5.1加密只能运行在php5.3+zend guard loader及后环境上,无法运行在php5.2+zend optimizer及前环境上。

相应,用Zend Guard 5.0加密只能运行在php5.2+zend optimizer及前环境上,无法运行在php5.3+zend guard loader及后环境上。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: