30 lines
785 B
Plaintext
30 lines
785 B
Plaintext
## ---
|
|
## - Installtion of PHP-Extension Memcached
|
|
## ---
|
|
|
|
## - Install extension memcached via pecl (pecl install memcached)
|
|
## -
|
|
## - Note: Installation my fail with error message:
|
|
## -
|
|
## - configure: error: no, libmemcached sasl support is not enabled. Run configure with --disable-memcached-sasl to disable this check
|
|
## -
|
|
## -
|
|
## - During installation answer with this:
|
|
## -
|
|
## - libmemcached directory [no] : no --disable-memcached-sasl
|
|
|
|
|
|
## - Install extension memcached directly and give configure option --disable-memcached-sasl
|
|
## -
|
|
## - --disable-memcached-sasl
|
|
## -
|
|
VERSION=2.2.0
|
|
wget https://pecl.php.net/get/memcached-${VERSION}.tgz
|
|
gunzip < memcached-${VERSION}.tgz | tar -xf -
|
|
cd memcached-${VERSION}
|
|
./configure --disable-memcached-sasl
|
|
make
|
|
make install
|
|
|
|
|