Nov 26, 2011
5
0
51
Santa Fe, Santa Fe, Argentina
cPanel Access Level
Website Owner
I'd like somebody to explain me the difference between installing memcached for CentOS 7 and installing it from EasyApache4 experimental repo

How to Install Memcached on CentOS 7 – Liquid Web Knowledge Base
Code:
yum -y install memcached
memcached -h
systemctl start memcached
MemcacheD in EasyApache4
Code:
yum install ea4-experimental
yum install ea-php##-php-memcache
yum install ea-php##-php-memcached
Which is the best way? Why? Why should I install EA4 experimental instead of Liquidweb memcached installation instructions?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello,

The primary difference is that one method installs Memcached manually, 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.
 

DennisMidjord

Well-Known Member
Sep 27, 2016
264
35
28
Denmark
cPanel Access Level
Root Administrator
Sorry for opening an old thread.
Would it cause any issues to install memcached manually until ea4-memcached is stable? Would uninstalling memcached at that time be a bad idea?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Would it cause any issues to install memcached manually until ea4-memcached is stable? Would uninstalling memcached at that time be a bad idea?
You can install it manually for now, then uninstall it once it's no longer experimental and available to install as part of the production EA4 repo. This shouldn't lead to any issues.

Thank you.
 

tuantung01

Registered
Jan 19, 2018
1
0
1
Vietnam
cPanel Access Level
Website Owner
I'd like somebody to explain me the difference between installing memcached for CentOS 7 and installing it from EasyApache4 experimental repo

How to Install Memcached on CentOS 7 – Liquid Web Knowledge Base
Code:
yum -y install memcached
memcached -h
systemctl start memcached
MemcacheD in EasyApache4
Code:
yum install ea4-experimental
yum install ea-php##-php-memcache
yum install ea-php##-php-memcached
Which is the best way? Why? Why should I install EA4 experimental instead of Liquidweb memcached installation instructions?
thank you!
 

DomineauX

Well-Known Member
PartnerNOC
Apr 12, 2003
429
11
168
Houston, TX
cPanel Access Level
Root Administrator
Since nobody clarified this previously:

The instructions from LiquidWeb are for installing the Memcached server.
The ea4-experimental instructions are for installing the Memcache/Memcached (two different) PHP Extensions for the EA4 PHP versions.

You need both the Memcached server, and PHP extensions for PHP applications to utilize Memcache.
 
  • Like
Reactions: texo