Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
loccom Posted December 16, 2016 Posted December 16, 2016 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?
ASTRAPI Posted December 16, 2016 Posted December 16, 2016 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.....
loccom Posted December 16, 2016 Author Posted December 16, 2016 cheers for your response according to phpinfo its installed. See attached screenshot. checking csf
loccom Posted December 16, 2016 Author Posted December 16, 2016 we dont have csf, we do have apf and BF
ASTRAPI Posted December 16, 2016 Posted December 16, 2016 Check also the output from: ps ax | grep memcached | grep -Ev grep
loccom Posted December 19, 2016 Author Posted December 19, 2016 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
ASTRAPI Posted December 19, 2016 Posted December 19, 2016 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
russur Posted January 23, 2017 Posted January 23, 2017 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?
jcdesign Posted March 31, 2017 Posted March 31, 2017 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.