P
P
Pavel2017-05-10 22:16:50
PHP
Pavel, 2017-05-10 22:16:50

How to set up memcache on CentOS and WordPress?

Please tell me how to make memcahed work on CentOS7 and PHP7.
Delivered itself Memcahed
yum -y install memcached
Delivered the extension for php
yum -y install php-pecl-memcache
Restarted services. Memcahed is listening in the processes.
php -m | grep memcache
Says that memcache is present. However, memcahe is not visible in php_info. And in WordPress, memcahed cannot be selected as a cache storage (the option is not active). And if I try to set it up, I can't connect.
b0ea29e835c84598a68542c8416d1b6d.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Verbin, 2017-05-11
@rez0n

Try like this

echo "extension=memcache.so" >> /etc/php.d/memcache.ini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question