Last active
November 19, 2015 16:24
-
-
Save nitriques/7e9801e3630a4f635917 to your computer and use it in GitHub Desktop.
Memcached on Centos 6
This file contains hidden or 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
# php memcached | |
# from: http://stackoverflow.com/questions/24407095/error-when-installing-pecl-memcached/30898513#30898513 | |
# Step 1 - Install SASL: | |
yum install cyrus-sasl-devel | |
# Step 2 - Compile libmemcached with SASL installed: | |
cd ~ | |
wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz | |
tar -zxvf libmemcached-1.0.18.tar.gz | |
cd libmemcached-1.0.18 | |
./configure | |
make && make install | |
# Step 3 - Install PHP Memcached: | |
pecl install memcached | |
# (Do not specify libmemcached-dir) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment