R
R
radiolip2014-12-10 18:38:21
Yii
radiolip, 2014-12-10 18:38:21

How to configure memcache correctly?

Hello! I have a question for the experts. Here I installed all memcached components on the server, enabled memcache.
By default port 11211 and localhost. Do I need to change localhost and port to the IP address of the server and the port on which the site is running? only one server is used.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2014-12-10
@dmtrrr

What does "the port on which the site is running" mean? 80?
Do you understand what a port is?
It all depends on which applications work with memcached and where these applications are running.
In your case, most likely, you can leave the default settings.

V
Vlad Zhivotnev, 2014-12-11
@inkvizitor68sl

No, you definitely don't need to do this. Otherwise, you will get a memcache open to the whole world, since you ask such questions.
Well, yes - memcache itself does nothing, the application must be able to use it itself (and, of course, really use it).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question