Plesk Onyx for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk Onyx for Linux
Symptoms
Unable to install memcached
module for Plesk PHP 7.1 on CentOS 7. The following error is shown:
# /opt/plesk/php/7.1/bin/pecl install memcached
..
checking for memcached msgpack support... disabled
checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=<DIR> to specify the prefix where libmemcached headers and library are located
ERROR: `/root/tmp/memcached/configure --with-php-config=/opt/plesk/php/7.1/bin/php-config --with-libmemcached-dir=no' failed
Cause
The libmemcached-devel
package missing.
Resolution
- Login to the server via SSH.
- Install the package:
RHEL/CentOS/CloudLinux:
# yum install libmemcached-devel
Ubuntu/Debian:
# apt-get install libmemcached-dev
Comments
5 comments
This could also happen on DEB based systems.
This error will be fixed with:
Hello @Linus,
Thank you for notice, the article was updated.
The same error
I can't install libmemcached-devel
I fixed it
added repository
yum install -y libmemcached-devel --enablerepo=PowerTools
Erreur : Dépôt inconnu : « PowerTools »
Please sign in to leave a comment.