发布接口不能正常使用的常见问题,Zend Guard加密的文件出现500错误的解决办法
by 尘缘 on 十二月 29th, 2011 // Filed Under → linux, php
尘缘的发布接口(http://my.4wei.cn/)采用服务器自动生成授权并打包的,默认使用Linux + Zend Guard 5.5 进行加密,7z进行打包。
包括免费接口和收费接口,如果你的接口上传到服务器上,不能正常访问,请对照以下错误现象和解决办法。
1,Zend Optimizer not installed
最常见的问题,“Zend Optimizer”没有安装,请根据以下两篇文章安装Zend Optimizer或者Zend Loader
http://www.4wei.cn/archives/1001038
http://www.4wei.cn/archives/1001397
2,接口报“500 Internal Server Error”
如果你的接口访问时,是空白页面,或者没有内容,或者没有报异常错误,那应该就是出现了“500 Internal Server Error”,经常出现在Linux主机上。
错误原因有两个:
3,接口报“This file has expired”
您使用的接口版本太老,不能再继续使用了,需要更新一下接口。
下载免费接口、购买收费接口、更新收费接口的用户请直接前往http://my.4wei.cn
尘缘版接口 提示This file has expired的解决办法:http://www.4wei.cn/archives/1001548
4,接口提示“Fatal error: Incompatible file format: The encoded file has format major ID 65540, whereas the Optimizer expects 2 in D:\wwwroot\Discuz\locoy.php on line 0
PHP Fatal error: Incompatible file format: The encoded file has format major ID 65540, whereas the Optimizer expects 2 in D:\wwwroot\Discuz\locoy.php on line 0 ”
错误原因:
你的服务器上的php版本是5.3,而你的接口使用了5.2的版本,或者你的服务器上的php版本是5.2,而你的接口使用了5.3的版本。
免费版用户请选择正确的接口版本,收费用户请选择正确的php版本。
你可以任意转摘“发布接口不能正常使用的常见问题,Zend Guard加密的文件出现500错误的解决办法”,但请保留本文出处和版权信息。
作者:尘缘,QQ:130775,来源:http://www.4wei.cn/archives/1001577

走过路过,千万不要飞过,那是鸟人: