I have installed memcache and memcached in XAMPP in OSX Mountain Lion. Though non of them appear in phpinfo().
At the top of my index.php file I simply include the file:
include 'memcache.php'
Then when I enter my website I get a MEMCACHE INFO page that gives me this error:
Error message: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known`
What am I doing wrong?
Can memcache and memcached be installed without showing up in phpinfo()?
Fixed it my following this guide.
Seems like memcache wasn’t completely installed or something because now it appears in
phpinfo()and everything is working! Don’t know why it wasn’t working when following several other tutorials though a theory is that it installed memcache for the built-in apache in OSX.