Skip to main content

Memcached

Comments

6 comments

  • cPanelLauren
    You're right, the info is limited. This error is a configuration error and it's usually related to something right above this message you're posting. For example: checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir= to specify the prefix where libmemcached headers and library are located ERROR: `/root/tmp/pear/memcached/configure --with-php-config=/opt/cpanel/ea-php72/root/usr/bin/php-config --with-libmemcached-dir=no --with-zlib-dir=no --with-system-fastlz=no --enable-memcached-igbinary=no --enable-memcached-msgpack=no --enable-memcached-json=no --enable-memcached-protocol=no --enable-memcached-sasl=yes --enable-memcached-session=yes' failed
    Can you show me the lines above that error?
    0
  • bigtomjp
    @cPanelLauren This is a few lines just above the error: checking whether to enable memcached protocol support... no checking whether to use system FastLZ library... no checking for ZLIB... yes, shared checking for pkg-config... /bin/pkg-config checking for zlib location... /usr checking for session includes... /opt/cpanel/ea-php74/root/usr/include/php checking for memcached session support... enabled checking for memcached igbinary support... disabled checking for memcached msgpack support... disabled checking for libmemcached location... configure: error: memcached support requires libmemcached. Use --with-libmemcached-dir=
    I did run yum install libmemcached
    and the install was successful.
    0
  • bigtomjp
    memcached shows in the phpinfo. libmemcached.x86_64 is in the list when I run yum list installed.
    0
  • bigtomjp
    Is this as simple as specifying a location? Good place to put it?
    0
  • bigtomjp
    Needed yum install libmemcached-devel. Installed fine after that.
    0
  • cPanelLauren
    Hello, I'm glad to see you were able to get this resolved and thanks for posting your updates!
    0

Please sign in to leave a comment.