解决Zend加密的PHP页面出现Fatal error: Incompatible file format: The encoded file has format major ID 1, where...

打开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及后环境上。

转载于:https://www.cnblogs.com/zhongheng/p/5358432.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值