This article assumes that you have installed PHP, that your web server is properly configured to serve PHP pages and that you've installed the Membase server on your development machine. We'll be accessing the Membase server as part of this article. The server can be part of a cluster or it can be stand-alone. Even if you're accessing a Membase server on a different machine, the Membase PHP library on the development server is essentially a wrapper around the libmemcached library that is provided in the Membase install.
This article will illustrate:
How to download, install and configure the memcached PHP library
How to use Membase, PHP and memcached to generate a general purpose page access counter and last-accessed date indicator script
Couchbase provides links and guides to downloading and installing the Membase server at: http://www.couchbase.com/downloads.