[CentOS] memcached-1.4.1 and C4
David Hrbáč
hrbac.conf at seznam.czSat Sep 19 12:15:24 UTC 2009
- Previous message: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date) => libcurl.so.3/libcurl.so.4 missing
- Next message: [CentOS] Apache: confusion about virtual hosts and DNS on a local network
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, Is there someone successfully running memcached-1.4.1 on Centos 4 with centosplus php? I'm trying to use memcached under Centos 4. I can set values fine but 'get' returns: [root at rakosnicek eshop]# php d.php PHP Warning: Memcached::get(): bad type specifier while parsing parameters in /var/www/d.php on line 6 NULL string(7) "SUCCESS" array(1) { ["lhost:11211"]=> string(5) "1.4.1" } The code is: <?php $m = new Memcached(); $m->addServer('localhost', 11211); $m->set('foo', 100); var_dump($m->get('foo')); var_dump($m->getResultMessage()); var_dump($m->getVersion()); ?> Memcat returns: [root at rakosnicek eshop]# memcat --servers=localhost foo 100 Package version are: [root at rakosnicek eshop]# rpm -q httpd memcached php-pecl-memcached php | sort httpd-2.0.52-41.ent.4.centos4 memcached-1.4.1-2.el4.hrb php-5.1.6-3.el4s1.10 php-pecl-memcached-1.0.0-3.el4.hrb Thanks, David
- Previous message: [CentOS] Problems with Adobe flash-plugin and Firefox-3.5.x under CentOs-5.3 (yum up to date) => libcurl.so.3/libcurl.so.4 missing
- Next message: [CentOS] Apache: confusion about virtual hosts and DNS on a local network
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list