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

3 Responses to “new pecl/memcache is out with memcache.php”

  1. Stephane Loeuillet Says:

    Cute script but it can’t work with memcache listening on Unix socket, but only with IP connection.

  2. Stephane Loeuillet Says:

    To be more precise, it can’t work because you rely on ‘:’ as a host:port separator but URI look like : unix:///tmp/memcached.sock

  3. Stephane Loeuillet Says:

    function get_host_port_from_server($server){
    $values = explode( ‘:’, $server );
    if ( ($values[0] == ‘unix’ ) && ( !is_numeric( $values[1] ) ) )
    {
    return Array( $server, 0 );
    }
    else
    {
    return values;
    }
    }

Leave a Reply

authimage