【问题标题】:Cakephp 3 Cake\Cache\Engine\MemcachedEngine is not properly configured in CentosCakephp 3 Cake\Cache\Engine\MemcachedEngine 在 Centos 中没有正确配置
【发布时间】:2015-05-25 06:43:38
【问题描述】:

我在Centos 中使用memcachecakephp 3 有错误:

Error: [RuntimeException] Cache engine Cake\Cache\Engine\MemcachedEngine is not properly configured.

我安装的memcache如下:

  • 安装内存缓存和库

       yum install memcached        
       yum install php55w-pecl-memcache
    
  • 在 php.ini 中添加配置

    extension=memcache.so
    

我查看info.phpmemcache信息已显示。

【问题讨论】:

    标签: php cakephp caching cakephp-3.0


    【解决方案1】:

    memcached 与 memcache 不同。你必须安装

    yum install php55w-pecl-memcached
    

    【讨论】:

      猜你喜欢
      • 2017-03-04
      • 2016-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-20
      • 1970-01-01
      • 2015-08-22
      • 1970-01-01
      相关资源
      最近更新 更多