M
M
McMike2018-11-09 12:28:22
PHP
McMike, 2018-11-09 12:28:22

What is memcache and memcached?

Explain the difference between memcache and memcached for php?
And I installed them for php (php5.6-memcached), but it turned out that I still need to install memcached itself, which is now spinning as an independent process.
Do I understand correctly that this is a separate software, not a library for php, and does it need a php extension to work with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaliy Orlov, 2018-11-09
@orlov0562

Yes, that's right:
memcached = a separate software
php-memcache = a library for php that allows you to work with memcached
in the same way working with mysql is arranged:
mysql = a separate software
php-mysqli = a library for working with it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question