【问题标题】:Will a PECL package for PHP 5.4 work with 5.5?PHP 5.4 的 PECL 包可以与 5.5 一起使用吗?
【发布时间】:2014-01-07 19:05:40
【问题描述】:

我正在寻找安装 Amazon ElastiCache Memcached Cluster Client 以便我可以利用缓存节点的自动发现。

不幸的是,看起来他们只有可用的选项是

  • Java
  • PHP 5.3(64 位 Linux)
  • PHP 5.3(32 位 Linux)
  • PHP 5.4(64 位 Linux)
  • PHP 5.4(32 位 Linux)

我的 EC2 实例上安装的 PHP 版本是 PHP 5.5.3-1ubuntu2.1(Ubuntu 的默认版本)。

有没有人知道 5.4 包是否适用于 PHP 5.5?我做了find one person looking for this on their forums,但那里似乎还没有解决方案。

【问题讨论】:

    标签: php amazon-web-services memcached pecl amazon-elasticache


    【解决方案1】:

    只有一种方法可以找出答案,对吧?嗯,答案是否定的。

    我按照安装说明在启动 PHP 时得到了这个:

    PHP Warning:  PHP Startup: memcached: Unable to initialize module
    Module compiled with module API=20100525
    PHP    compiled with module API=20121212
    These options need to match
     in Unknown on line 0
    

    【讨论】:

      猜你喜欢
      • 2015-11-07
      • 2010-10-15
      • 2018-05-17
      • 2015-10-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-25
      • 2019-11-09
      相关资源
      最近更新 更多