Open natorious opened 6 years ago
I encounter the same problem. this pull request https://github.com/aws-samples/aws-refarch-wordpress/pull/49 will solve your issue
I have the same problem. In my case after cf template installation I performed a migration of my previous site using All-in-One WP Migration plugin. After that I installed W3 Total Cache through wp cli (command: wp plugin install w3-total-cache --allow-root ) but after that Memcached option still not available as option. I suppose the migrating operation overwritten some configuration file.
Have you tried W3 Total Cache Fixed? Might help…
I checked /etc/php-7.0.d/50-memcached.ini
file which was empty. The solution for me was to re-write the line 982
and 983
in aws-refarch-wordpress-04-web.yaml
as the following
sudo echo 'extension=igbinary.so;' | sudo tee -a /etc/php-7.0.d/50-memcached.ini
sudo echo 'extension=/usr/lib64/php/7.0/modules/amazon-elasticache-cluster-client.so;' | sudo tee -a /etc/php-7.0.d/50-memcached.ini
After this, update the stack aws-refarch-wordpress-04-web.yaml
After running the template, I can get my site to work but W3 Total Cache's compatibility modal reports that Memcached is not installed. As such, it's not available in any of the dropdowns for caching options.