묻고답하기

I set memcached in config/cache.php and got this error

Class 'Memcached' not found Symfony \ Component \ Debug \ Exception \ FatalErrorException

$memcache = new Memcache;
$memcache->connect('127.0.0.1', 11211);
echo 'Memcached ver: ' . $memcache->getVersion();

Memcached ver: 1.2.6

memcache

해결책 

 

http://pecl.php.net/package/memcache/3.0.8/windows

 

spekkionu said:

There are two memcache extensions for php.
http://pecl.php.net/package/memcache   <========이걸 받을것  5.5 Non Thread Safe (NTS) x64  dll 받으면 
http://pecl.php.net/package/memcached

There is memcached with a "d" and memcache without the "d"
You have the memcache extension installed and Laravel is looking for the memcached extension.

Oh, thanks. I have not found memcached and thought that this module in php so called memcache.

태그 연관 글
  1. [2012/06/01] Blog 캐시 설정 가이드 - XE 1.5 버전 이후 by XE *5