Last active
August 26, 2015 23:13
-
-
Save matthewshirley/ae4974363178f172be02 to your computer and use it in GitHub Desktop.
PHP Memcached - How to compile on Centos 6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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