CakePHP和Memcached错误-php5.6

CakePHP和Memcached错误-php5.6,php,cakephp,memcached,php-5.6,Php,Cakephp,Memcached,Php 5.6,我正在尝试将我们公司的应用程序从PHP5.3迁移到PHP5.6。此应用程序使用cakephp 2.4.3和memcached,但当我尝试执行./cake bake命令时,出现了下一个错误: Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /cluster/data/deploy/clickdelivery/

我正在尝试将我们公司的应用程序从PHP5.3迁移到PHP5.6。此应用程序使用cakephp 2.4.3和memcached,但当我尝试执行./cake bake命令时,出现了下一个错误:

Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /cluster/data/deploy/clickdelivery/current/lib/Cake/Cache/Cache.php:181
Stack trace:
#0 /cluster/data/deploy/clickdelivery/current/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_')
#1 /cluster/data/deploy/clickdelivery/current/app/Config/core.php(381): Cache::config('_cake_core_', Array)
#2 /cluster/data/deploy/clickdelivery/current/lib/Cake/Core/Configure.php(72): include('/cluster/data/d...')
#3 /cluster/data/deploy/clickdelivery/current/lib/Cake/bootstrap.php(177): Configure::bootstrap(true)
#4 /cluster/data/deploy/clickdelivery/current/lib/Cake/Console/ShellDispatcher.php(136): require('/cluster/data/d...')
#5 /cluster/data/deploy/clickdelivery/current/lib/Cake/Console/ShellDispatcher.php(98): ShellDispatcher->_bootstrap()
#6 /cluster/data/deploy/clickdelivery/current/lib/Cake/Console/ShellDispatcher.php(54): ShellDispatcher->_initEnvironment()
#7 /cluster/data/deploy/clickdelivery/cu in /cluster/data/deploy/clickdelivery/current/lib/Cake/Cache/Cache.php on line 181
持久模型和目录是用+W创建的


提前感谢。

您是否在php5.6中启用了memcached模型?你可以用php-m | grep memcached来检查Yeah man,它是启用的。然后你重新启动了你的web服务器吗?在这个问题上有很多投票。。。文件夹权限?不确定它是否为模型代理写入磁盘,然后memcached。。。?CakePHP将php的cli版本用于控制台应用程序(包括烘焙)。您是否在webserver和cli php文件中都启用了memcached?