i installed memcached and I also started the service by typing net start "memcached Server" and it said the service already started so i restarted apache and tried a couple of codes for using memcached:
<?php
//phpinfo();
$memcache = new Memcache;
$memcache->connect("localhost",11211); //change if necessary
$tempArray = array('fish', 'cow', 'demon');
$temp = serialize($testArray);
$memcache->add("key", $temp, 60);
print_r(unserialize($memcache->get("key")));
?>
but it gives an error:Fatal error: Class 'Memcache' not found in C:\wamp\www\temp.php on line 3
does this mean memcache is not started or anything else? i have not done anything except installing and starting the service do i need to do anything else like specifying The RAM and adding the server or anything else? I am using wamp server.