Installing memcache and memcached with EasyApache4

Nirjonadda

Well-Known Member
May 8, 2013
752
28
78
cPanel Access Level
Root Administrator
You'd need to manually start it using a command like the one referenced earlier in this thread. EX:



Keep in mind this module is still considered experimental and thus is not yet ready for production machines.

Thank you.
Then it's will run memcached from user nobody? What the difference from command "yum install memcached" and "yum install ea-memcached"?

Does this correct steps?

Code:
yum install ea-php71-php-memcache
yum install ea-php71-php-memcached
yum install memcached
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Then it's will run memcached from user nobody?
Right, as that's the user Apache runs as. Keep in mind this is unsupported, so you may want to consult with a qualified system administrator for help setting it up.

What the difference from command "yum install memcached" and "yum install ea-memcached"?
The primary difference is that one method installs Memcached manually using your CentOS repos, whereas the other method installs it as part of an EasyApache 4 RPM. With the EA4 experimental method, there is no SASL, and no per-user init files, which means it is not considered ready for shared environments.

Thank you.
 

Nirjonadda

Well-Known Member
May 8, 2013
752
28
78
cPanel Access Level
Root Administrator
The primary difference is that one method installs Memcached manually using your CentOS repos, whereas the other method installs it as part of an EasyApache 4 RPM. With the EA4 experimental method, there is no SASL, and no per-user init files, which means it is not considered ready for shared environments.
Is this any closer to production release ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
Any update with regards to SASL support and per-user init files?
Hello,

There's no update to report at this time. I encourage you to subscribe to the feature request, as any updates will be posted there as soon as they are available:

MemcacheD in EasyApache4

Thank you.
 

ciao70

Well-Known Member
Nov 3, 2006
149
33
178
Hello,

Attention

blog.cloudflare.com/memcrashed-major-amplification-attacks-from-port-11211/
 

oah

Well-Known Member
Jan 23, 2018
59
9
58
Iraq
cPanel Access Level
Website Owner
Hi
i am reading the post in 2020 and wondering where are we now with the memcached? tried couple of threads but all of them led me here. @cPanelMichael
What steps should be followed, what has been updated, what is the recommended way nowadays?

Thank you guys.
O.
 
  • Like
Reactions: Gojko