zoukankan      html  css  js  c++  java
  • ShopEx访问提示Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4

    今天测试了下ShopEx程序,但是ShopEx安装时(程序放在public_html目录下的test目录中)遇到了问题,提示错误如下:
    Fatal error: Incompatible file format: The encoded file has format major ID 2, whereas the Loader expects 4 in /home/cpusername/public_html/test/core/include_v5/defined.php on line 0
    检测了服务器的环境,发现php是5.3.10版本的,论坛上看了下这个问题主要是php 5.3和Zend Optimizer之间的兼容导致的,换回5.2版本如5.2.17版本就OK了。方法为WHM中重新编译Apache。点击Main>>Software>>EasyApache(Apache Update)然后一步一步往下点,在PHP Minor Version中选择5.2.17即可(已经不推荐使用这个版本了,cPanel支持最新的php版本是5.3.10,但是为了解决Zend Optimizer兼容问题,只能继续用5.2.17版本。)

    之后点击Next Step,在接下来的页面点击Save and Build按钮编译Apache即可,编译完成可以看到:

    接着再访问安装页面就恢复正常了:

  • 相关阅读:
    bzoj4974: [Lydsy1708月赛]字符串大师
    bzoj1801: [Ahoi2009]chess 中国象棋
    predis的使用
    常用的文件数据类型mime
    使用CURL模拟表单上传文件
    模型类:连接数据库
    extends注意事项
    extends前提
    include
    radio后的input框数据传递
  • 原文地址:https://www.cnblogs.com/CHEUNGKAMING/p/4147345.html
Copyright © 2011-2022 走看看