Fatal error: Incompatible file format: The encoded file has format major ID 1...解决方案

时间:2014-11-20 15:23:25   收藏:0   阅读:1165

申请好域名和空间后,将网站源码上传到空间,解析好域名后。在地址栏输入域名出现下面错误:

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

原因:开发网站的php版本和空间上配置的php版本不匹配,比如开发用的php5.2,空间默认为5.3

解决方案:将空间php版本设置为php5.2,成功运行。

原文:http://blog.csdn.net/liaction/article/details/41312493

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!