I just use pecl install memcached or somthing like that can't quite
remember.

The change log says addServer was added in version 2.0.0
http://pecl.php.net/package-changelog.php?package=memcache

--
/James

On Fri, Mar 21, 2008 at 2:50 PM, Bill YILDIRIM <[EMAIL PROTECTED]> wrote:

>  I thought it was.
> As I am using Zend Core 2.5 I don't know how to update the memcache.
>
> can you give me directions on that as well :)
>
>
> James Dempster wrote:
>
> Hmm maybe the version?
> Revision $Revision: 1.95 $ here
>
> --
> /James
>
> On Fri, Mar 21, 2008 at 2:42 PM, Bill YILDIRIM <[EMAIL PROTECTED]> wrote:
>
> > Yes, it is definitely installed.
> > memcache  memcache support enabled  Active persistent connections 0  
> > Revision
> > $Revision: 1.23 $
> >
> > James Dempster wrote:
> >
> > Possibly not have memcached client compiled into php on your production
> > servers?
> >
> > Have you double checked though the phpinfo() ?
> >
> > --
> > /James
> >
> > On Fri, Mar 21, 2008 at 12:07 PM, billyildirim <[EMAIL PROTECTED]>
> > wrote:
> >
> > >
> > > 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.
> > >
> > >
> >
>

Reply via email to