Shurn the Awesomer
Installing Memcache on Ubuntu 16.04 for PHP

Installing Memcache on Ubuntu 16.04 for PHP

Written on Fri, 24 November 2017

Installing Memcache on Ubuntu 16.04 is a breeze. All you need are just the right commands and everything is installed.

apt install memcached php-memcached

After that, you just need to restart apache.

systemctl apache2 restart

That's it. You can verify that memcached is installed and working with phpinfo().