Hi,
Am trying to setup memcached on a RHEL 7 box.
Did an install of memcached and php-pecl-memcache
Also configured the firewall for the server to access memcached on 11211 port outbound connection.
Am not able to get it setup properly.
What am I doing wrong?
Cheers
Hi
Welcome to IW forums
If you upload a info.php to one of your domains on the server, does it show memcache memcached
Why have you configured your firewall to allow access on localhost
Have you tested using telnet commands
telnet localhost 11211
structure
set key_name meta_data expiry_time length_in_bytes
example
set Test 0 100 5 # press enter
Hello # press enter
STORED # you’ll see this message after storing
so it is as follows:
telnet localhost 11211
Trying ::1…
Connected to localhost.
Escape character is ‘^]’.
set Test 0 100 5
hello
STORED
Many thanks
John
Hello John,
Thank you for your message.
I had to restart the PHP FPM cache and services to get the memcached working.
Silly, but it can be an ache.
Cheers, Noor