D
D
denism3002021-10-02 14:32:41
memcached
denism300, 2021-10-02 14:32:41

How to install Memcache on CentOS 8?

How to install Memcache on CentOS 8?
Installed Memcached, when I try to install the Memcache extension
yum install php-pecl-memcache
I get an error

Last metadata expiration check: 0:54:00 ago on Sat 02 Oct 2021 01:37:50 PM MSK.
No match for argument: php-pecl-memcache
Error: Unable to find a match: php-pecl-memcache

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2021-10-02
@denism300

sudo dnf install epel-release -y
sudo dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm -y
sudo dnf module reset php
sudo dnf module enable php:remi-7.4 -y
sudo dnf install php-pecl-memcached php-pecl-memcache -y

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question