memcached-1.4.1 and C4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@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@rakosnicek eshop]# memcat --servers=localhost foo
100

Package version are:
[root@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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux