By m73mitchell
There’s an article in the community section https://www.digitalocean.com/community/articles/how-to-install-and-use-memcache-on-ubuntu-12-04 that has instructions about installing memcache.
The article says that PHP and mysql should be installed on the server: “Additionally, you should have MySQL and PHP installed on the virtual server. sudo apt-get install mysql-server php5-mysql php5 php5-memcache”
However, I’m not using PhP or mysql in my app. Do PHP and mysql need to be installed for the purpose of installing memcache, or did the article just assume that memcache would be used in an application with Php and mysql. I think the article suggests that PHP is needed to actually set up memcache because it talks about PEAr (a php package) being needed to store the repository
“The next step is to install php-pear, the repository that stores memcache. sudo apt-get install php-pear”
In my case, since I’m using Ruby/rails (and postgres), what should I do to install memcache?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
“or did the article just assume that memcache would be used in an application with Php and mysql” <br> <br>That is correct. In your case, you only need to follow these two sections: <br> <br>- Install Memcache <br>- Confirm Memcache and See Stats
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.