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()
?
memcache.php
for the PHP extension. Are you using someone's memcached PHP library? You still need memcached installed and the PHP memcache/memcached libs. - Xeoncrossphp -m
in the terminal - Oskar Persson