Jump to content

setting up memcached server address


Recommended Posts

Posted

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?

Posted

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.....

 

Posted

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 

Posted
Quote

returns nothing

 

Then is not running so you must run it or if something is wrong with the installation to reinstall it :)

start it using:

service memcached start

and then re check with the above command if it is running :)

 

  • 1 month later...
Posted

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?

 

  • 2 months later...
Posted
On 2016-12-16 at 6:26 PM, ASTRAPI said:

Check also the output from:

 


ps ax | grep memcached | grep -Ev grep

 

Thanks this help me to get the memcached work with the port address. :)

Archived

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

  • Recently Browsing   0 members

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