Skip to content
Libmemcached library support for Amazon ElastiCache Memcached Cluster for PHP. The client is available at https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build-aux Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
clients Merge in a large number of changes from upstream version 1.0.18 (Rev … Feb 11, 2017
docs
example
libhashkit-1.0
libhashkit Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
libmemcached-1.0 Merge in a large number of changes from upstream version 1.0.18 (Rev … Feb 11, 2017
libmemcached
libmemcachedinternal Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
libmemcachedprotocol-0.0 Auto Discovery support for Amazon ElastiCache Jul 30, 2015
libmemcachedprotocol
libmemcachedutil-1.0
libmemcachedutil Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
libtest
m4 Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
man Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
rpm
support Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
tests Merge branch 'master-test' into tmp Feb 11, 2017
util Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
win32 Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
.gitignore Initial commit Jul 29, 2015
AUTHORS libmemcached v 1.0.8 Jul 29, 2015
COPYING Update README.md and COPYING. Jul 30, 2015
ChangeLog
LICENSE Update license and some minor clean ups. Jul 30, 2015
Makefile.am Merge in a large number of changes from upstream version 1.0.18 (Rev … Feb 11, 2017
Makefile.in
NEWS
NOTICE Update license and some minor clean ups. Jul 30, 2015
README
README.FIRST Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
README.md
README.win32
THANKS libmemcached v 1.0.8 Jul 29, 2015
TODO libmemcached v 1.0.8 Jul 29, 2015
aclocal.m4 Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
configure Merge in a large number of changes from upstream version 1.0.18 (Rev … Feb 11, 2017
configure.ac Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
mem_config.in Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017
version.m4 Import from release 1.0.18 (Rev 1187) from Launchpad Bazaar repositor… Jan 5, 2017

README.md

aws-elasticache-cluster-client-libmemcached

Libmemcached library support for Amazon ElastiCache Memcached Cluster client for PHP. The client is available at https://github.com/awslabs/aws-elasticache-cluster-client-memcached-for-php

To compile the libmemcached library

  1. Launch the instance

  2. Install the library dependencies.

a) On Amazon Linux 201509 AMI

sudo yum install gcc gcc-c++ autoconf libevent-devel

b) On Ubuntu 14.04 AMI

sudo apt-get update

sudo apt-get install libevent-dev gcc g++ make autoconf libsasl2-dev

  1. Pull the repository and compile the code

git clone https://github.com/awslabs/aws-elasticache-cluster-client-libmemcached.git

cd aws-elasticache-cluster-client-libmemcached

mkdir BUILD

cd BUILD

../configure --prefix=<libmemcached-install-directory> --with-pic

make

sudo make install

Then track the installation directory path for libmemcached, as that will be needed to compile PHP memcached client.

Note: if you want to run the ElastiCache memcached PHP client on AMIs other than Amazon Linux, statically link the libmemcached library in the PHP-memcached client compilation, which will generate memcached.so binary extension which should be portable across Linux platforms.

Resources


You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.