i'm planning on using membase for my website and i was really struggling to install the memcashed php client on ubuntu with pear, but actually there is an easier way:
$ sudo apt-get install php5-memcached
you dont even need to install the membase server first - this can be done afterwards. hope this helps someone!