HostNoc

Well-Known Member
Feb 20, 2020
157
38
28
Ontario
cPanel Access Level
Root Administrator
Hello,

Yes you can go through these steps.

1. Login WHM and go to Module Installers, then manage button in front of PHP PECL

Screenshot from 2020-02-20 17-35-27.png

2. Select 7.2 from the drop down and search for memcache

Screenshot from 2020-02-20 17-36-36.png

3. Click the install button to proceed

Screenshot from 2020-02-20 17-36-50.png

Regards,
Shane
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,309
363
Houston
The information here is still current: Installing memcache and memcached with EasyApache4 just use ea-php72 instead of the version being noted there.

So the experimental repo has it:

Code:
yum info ea-php72-php-memcache.x86_64
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
 * EA4: 70.87.220.252
 * EA4-experimental: 70.87.220.252
 * cpanel-addons-production-feed: 70.87.220.252
 * base: mirror.dal10.us.leaseweb.net
 * centosplus: mirror.team-cymru.com
 * epel: fedora-epel.mirror.lstn.net
 * extras: mirror.den01.meanservers.net
 * updates: repo1.dal.innoscale.net
Available Packages
Name        : ea-php72-php-memcache
Arch        : x86_64
Version     : 4.0.3
Release     : 1.1.46.cpanel
Size        : 48 k
Repo        : EA4-experimental/7/x86_64
Summary     : memcache extension for ea-php72
URL         : https://github.com/websupport-sk/pecl-memcache/
License     : MIT
Description : Memcached is a caching daemon designed especially for  dynamic web applications
            : to decrease database load by storing objects in memory. This extension allows
            : you to work with memcached through handy OO and procedural interfaces.
But as noted by @HostNoc you can also install from module installers

Code:
Build process completed successfully
Installing '/opt/cpanel/ea-php72/root/usr/lib64/php/modules/memcache.so'
install ok: channel://pecl.php.net/memcache-4.0.5.2
Extension memcache enabled in php.ini