I have seen a number of posts on the forum around the topic of how to install and configure Redis or Memcache with Mautic. Alas there is not one person that has put the solution. Also the documentation in Mautic docs seems super outdated and not explanatory at all: Mautic Developer Documentation
Some background of what I have done, yet I am unclear if it is working as I think my syntax is incorrect in local.php file (but it is not breaking it) - all done with the help of Google & chatGPT.
I am running on ubuntu 20.04 and did the following:
Installed memcach and php module:
sudo apt-get install memcached
sudo apt-get install php-memcached
restarted php7.4-fpm service
added the following to my local.php
'cache' => array(
'default' => array(
'driver' => 'memcached',
'options' => array(
'servers' => array(
array(
'host' => '127.0.0.1',
'port' => 11211,
'weight' => 100
)
)
)
)
Saved and exited.
However when I telnet into memcache server and check stats items I am not seeing anything being cached thereā¦
telnet 127.0.0.1 11211
stats item
I I am not getting anything in response.
My hunch is my configuration in local.php is incorrect.
So anyone ever done this ?
Sorry have to tag you @rcheesley