申请好域名和空间后。将站点源代码上传到空间,解析好域名后。在地址栏输入域名出现以下错误:
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,成功执行。