Hi there,
I have been using Zend_Cache with File backend for sometime. Now i want to
play with memcache. on my PC, i have windows xp and xampp installed. My
production server is linux and Zend core 2.5 installed. memcache daemon runs
on the production server.
on my local pc in my bootstrap file
$frontendOptions = array('lifetime' =>
CACHE_LIFETIME,'automatic_serialization' => true);
$backendOptions = array('servers'=>
array('host' =>
'172.16.0.19',
'port' => 11211,
'persistent' => true),
'compression'=>false);
$cache = Zend_Cache::factory('Core', 'Memcached',
$frontendOptions, $backendOptions);
where 172.16.0.19 is the memcache deamon. And it works just fine.
but when I upload the file to the server I get
[Fri Mar 21 11:54:59 2008] [error] [client xxxxxxx] PHP Fatal error: Call
to undefined method Memcache::addServer() in
/var/www/vhosts/xxxxxx/library/Zend/Cache/Backend/Memcached.php on line 117
Exactly same code and exactly same Zend Library.
can someone help me?
Thanks
Bill
--
View this message in context:
http://www.nabble.com/Zend_Cache-with-Memcache-tp16197036s16154p16197036.html
Sent from the Zend Framework mailing list archive at Nabble.com.