new pecl/memcache is out with memcache.php
by Harun Yayli on Thursday, September 11th, 2008 at 9:34 pm under Memcached, PHP, pecl
I’ve just received news from Mikael Johansson that the new builds of pecl/memcache 2.2.4 stable and 3.0.2 beta is out with memcache.php
go grab your copy!
Recent Entries
- PHP Gurus in Montreal – I’m looking for 3 of them!
- Looking for 2 PHP Developers in Montreal (Senior and Intermediate)
- The difference between a bug and a feature
- Designing for Social Traction
- How to make Facebook shared links appear nice
- new pecl/memcache is out with memcache.php
- memcache.php flushes servers
- memcache.php can delete keys now
- memcache.php is now part of pecl/memcache
- memcache.php goes PECL
Cute script but it can’t work with memcache listening on Unix socket, but only with IP connection.
October 22nd, 2008 at 9:26 amTo be more precise, it can’t work because you rely on ‘:’ as a host:port separator but URI look like : unix:///tmp/memcached.sock
October 22nd, 2008 at 9:28 amfunction get_host_port_from_server($server){
October 22nd, 2008 at 10:29 am$values = explode( ‘:’, $server );
if ( ($values[0] == ‘unix’ ) && ( !is_numeric( $values[1] ) ) )
{
return Array( $server, 0 );
}
else
{
return values;
}
}