Skip to content

Instantly share code, notes, and snippets.

@matthewshirley
Last active August 26, 2015 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewshirley/ae4974363178f172be02 to your computer and use it in GitHub Desktop.
Save matthewshirley/ae4974363178f172be02 to your computer and use it in GitHub Desktop.
PHP Memcached - How to compile on Centos 6
# Download libmemcache 1.0.16: https://launchpad.net/libmemcached/1.0/1.0.16
```bash
./configure
make
make install
```
# Install memcached by pecl. When prompted for the directory type 'no -disable-memcached-sasl'
```bash
pecl install memcached
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading memcached-2.2.0.tgz ...
Starting to download memcached-2.2.0.tgz (70,449 bytes)
.....done: 70,449 bytes
15 source files, building
running: phpize
Configuring for:
PHP Api Version: 20131106
Zend Module Api No: 20131226
Zend Extension Api No: 220131226
libmemcached directory [no] : no --disable-memcached-sasl
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment