For anybody else, I've now installed memcached on my PS. It was actually fairly simple in the end. Here's the steps I took:
- Install memcached (important to use an admin account!)
sudo apt-get install memcached
If not already, install a custom php.ini - this page here is helpful (the "Easy Auto Copy Script" seems to work well for a lot of people).
Next, link memcached to PHP. This is done via adding a single line to your custom php.ini (I've added it at the bottom).
extension = /usr/lib/php5/20060613/memcache.so
N.B. The above path might be different on your server, so to find the right path you can run this command:
find /usr/ -name memcache.so
- Lastly, restart your web server for the settings to take effect.
To prove that the install was successful, load up a phpinfo() script in your browser and you should see a section with the title "memcache".
Anyway, hope this helps somebody....