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

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,成功执行。

相关文章:

  • 2022-01-26
  • 2021-11-13
  • 2022-03-11
  • 2021-05-22
  • 2022-02-01
  • 2022-12-23
  • 2021-12-12
  • 2021-08-19
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-05
  • 2021-09-18
  • 2021-08-14
相关资源
相似解决方案