Jump to content

setting up memcached server address


Recommended Posts

Hi

I installed memcached on the server and in the advanced configuration and data storage i chose memcached.

Thing is it requires a server but i have no idea what ip i should use, I tried 127.0.0.1:11211 and the server ip but says its not valid,,, how can i check where the server for memcahced is?

Link to comment
Share on other sites

Hi :)

After installing memcached you need to install also the related php memcached extension...

After that it should work on the default 127.0.0.1:11211 .....

You must upload also the new generated constants.php and replace your existing one....

You can check if Memcached is running by:

ps ax | grep memcached | grep -Ev grep

parameter -p will display the port that you was asking for....but i am sure that is the default one.....

you can check that extension is loaded on php by:

php -i | grep memcache

 

And last step if you are using a firewall like csf just open the port there and restart the firewall.....

 

Link to comment
Share on other sites

returns nothing... :(

 

i did also run the following

root@  [~]# php -i | grep memcache

memcache

memcache support => enabled

memcache.allow_failover => 1 => 1

memcache.chunk_size => 8192 => 8192

memcache.default_port => 11211 => 11211

memcache.default_timeout_ms => 1000 => 1000

memcache.hash_function => crc32 => crc32

memcache.hash_strategy => standard => standard

memcache.max_failover_attempts => 20 => 20

Registered save handlers => files user memcache 

Link to comment
Share on other sites

  • 1 month later...

Hello !

On 16.12.2016 at 5:52 PM, ASTRAPI said:

After that it should work on the default 127.0.0.1:11211 .....

Only memcached with port connection supported in IP.Board.

My hosting provider support only "unix socket" connection.

When I try to setup default address and port (127.0.0.1:11211) in Advanced, I see error.

What can I do for usind Memcached?

 

Link to comment
Share on other sites

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...