<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>memcache on IT Quicktasks</title><link>https://quicktasks.ismael.casimpan.com/tags/memcache/</link><description>Recent content in memcache on IT Quicktasks</description><generator>Hugo -- gohugo.io</generator><copyright>Copyright © 2018–2022, Ismael Casimpan Jr.; All Rights Reserved</copyright><lastBuildDate>Sat, 28 Sep 2019 00:20:25 +0800</lastBuildDate><atom:link href="https://quicktasks.ismael.casimpan.com/tags/memcache/index.xml" rel="self" type="application/rss+xml"/><item><title>php7.1 memcache install in CentOS7</title><link>https://quicktasks.ismael.casimpan.com/post/php7.1-memcache-install-centos7/</link><pubDate>Sat, 28 Sep 2019 00:20:25 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/php7.1-memcache-install-centos7/</guid><description>
1yum install -y memcached libmemcached php71-php-pecl-memcache.x86_64 Harden memcached by at least making it listed only on loopback. Config is in /etc/sysonfig/memcached
1PORT=&amp;#34;11211&amp;#34; 2USER=&amp;#34;memcached&amp;#34; 3MAXCONN=&amp;#34;1024&amp;#34; 4CACHESIZE=&amp;#34;64&amp;#34; 5OPTIONS=&amp;#34;-l 127.0.0.1 -U 0&amp;#34; Details in https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-memcached-on-centos-7</description></item><item><title>Drupal Memcache</title><link>https://quicktasks.ismael.casimpan.com/post/drupal-memcache/</link><pubDate>Mon, 09 Apr 2018 00:20:25 +0800</pubDate><guid>https://quicktasks.ismael.casimpan.com/post/drupal-memcache/</guid><description>
Had to install as follows (need to be php7.x):
1pecl install memcached Dependencies may need to be installed
1# yum groupinstall &amp;#34;Development tools&amp;#34; 2# yum install zlib zlib-devel 3# yum install php php-devel php-pear 4echo &amp;#34;extension=memcache.so&amp;#34; &amp;gt;&amp;gt; /etc/php.d/memcache.ini See https://tecadmin.net/install-memcached-with-pecl-memcache-on-centos-rhel/
For Ubuntu 16.x (with php5.6.x)
1apt-get install memcached 2apt-get install php-memcache</description></item></channel></rss>