Fatal error: Class 'Memcache' not found in /www/wwwroot/www.iktxt.cn/ptcms/driver/cache/memcache.php on line 25
系统发生错误 - Power By PTcms Framework
Hi,出错了!

Class 'Memcache' not found

错误位置

/www/wwwroot/www.iktxt.cn/ptcms/driver/cache/memcache.php  LINE: 25

18             $cacheid       = $this->config->get('bae_cache_id');
19             $host          = $this->config->get('bae_cache_host');
20             $port          = $this->config->get('bae_cache_port');
21             $user          = $this->config->get('bae_cache_user');
22             $pwd           = $this->config->get('bae_cache_pwd');
23             self::$handler = new BaeMemcache($cacheid, $host . ': ' . $port, $user, $pwd);
24         } else {
25             self::$handler = new Memcache();
26             self::$handler->connect($this->config->get('memcache_host', '127.0.0.1'), $this->config->get('memcache_port', '11211'));
27         }
28         if (!self::$handler) {
29             PT_Log::record('链接缓存驱动失败');
30         }
31         self::$prefix = $this->config->get('cache_prefix', substr(md5(PT_ROOT), 3, 3) . '_');
32     }
TRACE
#0  include() called at [/www/wwwroot/www.iktxt.cn/ptcms/function.php:50]
#1  halt(Class 'Memcache' not found, /www/wwwroot/www.iktxt.cn/ptcms/driver/cache/memcache.php, 25) called at [/www/wwwroot/www.iktxt.cn/ptcms/core/pt.php:222]
#2  pt::shutdown()
文件加载
/www/wwwroot/www.iktxt.cn/index.php
/www/wwwroot/www.iktxt.cn/ptcms/ptcms.php
/www/wwwroot/www.iktxt.cn/ptcms/function.php
/www/wwwroot/www.iktxt.cn/ptcms/core/base.php
/www/wwwroot/www.iktxt.cn/ptcms/core/pt.php
/www/wwwroot/www.iktxt.cn/ptcms/core/config.php
/www/wwwroot/www.iktxt.cn/application/common/config.php
/www/wwwroot/www.iktxt.cn/ptcms/core/plugin.php
/www/wwwroot/www.iktxt.cn/ptcms/core/request.php
/www/wwwroot/www.iktxt.cn/ptcms/core/dispatcher.php
/www/wwwroot/www.iktxt.cn/application/common/function.php
/www/wwwroot/www.iktxt.cn/application/novelsearch/controller/chapter.php
/www/wwwroot/www.iktxt.cn/application/common/controller/common.php
/www/wwwroot/www.iktxt.cn/ptcms/core/controller.php
/www/wwwroot/www.iktxt.cn/application/user/model/user.php
/www/wwwroot/www.iktxt.cn/ptcms/core/model.php
/www/wwwroot/www.iktxt.cn/ptcms/core/cookie.php
/www/wwwroot/www.iktxt.cn/ptcms/core/view.php
/www/wwwroot/www.iktxt.cn/template/tutu/config.php
/www/wwwroot/www.iktxt.cn/application/cron/model/cron.php
/www/wwwroot/www.iktxt.cn/ptcms/core/cache.php
/www/wwwroot/www.iktxt.cn/ptcms/driver/cache/memcache.php
/www/wwwroot/www.iktxt.cn/ptcms/core/response.php
/www/wwwroot/www.iktxt.cn/ptcms/error.tpl