So I pushed my changes to the production repository, only to discover that Memcache wasn’t installed on the server at work (a cPanel installation running over CentOS(6 i think)). Time to install it then!
in the terminal, get memcached installed. Nice n easy.
sudo yum install memcached
Then launch it!
memcached -d -u nobody -m 512 -p 11211 127.0.0.1
Then install memcache PHP extension. You do this in cPanels WHM. Search module installers in WHM
In Find a PHP Pecl, type memcache, and get it installed! You may or may not have to restart apache, but go to a phpinfo() and you should now see it running on your system!
See my previous post for how to use memcache in your PHP 🙂