I just installed memcached on my Mac OS X 10.6.8. It installed perfectly and when I type in
memcached in Terminal I get this:
failed to listen on TCP port 11211 tcp listen: Address already in use
And I have a script in my localhost that contains this:
$memcache = new Memcache();
But I get an error thrown saying
Fatal error: Class 'Memcache' not found.
How can I get memcached to work, is it because the port 11211 is not listened to which probably doesn't make memcached work?