Skip to main content

What are the current instructions for installing memcached?

Comments

6 comments

  • cPanelMichael
    Hello, Here's a recent thread on this topic with information about the current methods of installing Memcached/Memcache: Thank you.
    0
  • inspiredearth
    Thanks. Unfortunately that only mentioned the Apache side of things, which is what I already did through EA4. Memcache/d does not show up in PHP though, meaning in php-info there is no mention of memcached. What's the secret?
    0
  • cPanelMichael
    Hello, Can you verify the specific commands you used? The installation commands provided for the EA4 experimental RPMS include the PHP extensions: yum install ea4-experimental yum install ea-php##-php-memcache yum install ea-php##-php-memcached
    Thank you.
    0
  • inspiredearth
    Hello, Can you verify the specific commands you used? The installation commands provided for the EA4 experimental RPMS include the PHP extensions: yum install ea4-experimental yum install ea-php##-php-memcache yum install ea-php##-php-memcached

    I get the following error when trying to install those two ea-php packages... Error: Package: ea-php71-php-memcached-3.0.2-1.1.128.cpanel.x86_64 (EA4-experimental) Requires: libmemcached.so.11()(64bit) Error: Package: ea-php71-php-memcached-3.0.2-1.1.128.cpanel.x86_64 (EA4-experimental) Requires: libmemcachedutil.so.2()(64bit)
    I did a yum install libmemcached and that has installed. Although I see it installed libmemcached-0.31-1.1.el6.x86_64 which I gather is different from libmemcached.so.11 because trying to install ea-php71-php-memcached continues to give the above dependency error in full. In answer to your question... the commands I'd used previously were: yum -y update yum install -y libevent libevent-devel yum install -y memcached yum install -y php-pecl-memcache
    Which was based on instructions here gist.github.com/irazasyed/6066507 and here devdocs.magento.com/guides/v2.0/config-guide/memcache/memcache_centos.html P.S. Is there a way to markup inline code on this forum?
    0
  • 24x7server
    Hi,
    Thanks. Unfortunately that only mentioned the Apache side of things, which is what I already did through EA4. Memcache/d does not show up in PHP though, meaning in php-info there is no mention of memcached.

    PHP modules are different. You can use pecl command to install the memcache. # pecl install memcache OR The other way it download the memcache source files and compile it with individual EA-PHP.. # wget
    0
  • cPanelMichael
    Error: Package: ea-php71-php-memcached-3.0.2-1.1.128.cpanel.x86_64 (EA4-experimental) Requires: libmemcached.so.11()(64bit) Error: Package: ea-php71-php-memcached-3.0.2-1.1.128.cpanel.x86_64 (EA4-experimental) Requires: libmemcachedutil.so.2()(64bit)

    Hello, Feel free to open a support ticket if you'd like us to take a closer look at that error message, as I've not been able to reproduce that on a test environment. Thank you.
    0

Please sign in to leave a comment.