Hi
I have follow this guide https://www.digitalocean.com/community/tutorials/how-to-configure-content-caching-using-apache-modules-on-a-vps but i end up whit:
sudo a2enmod disk_cache
ERROR: Module disk_cache does not exist!
sudo a2enmod mem_cache
ERROR: Module mem_cache does not exist!
How can i install this modules?
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!
Hi!
That tutorial was written for Ubuntu 12.04. What OS are you running? There have been some changes in more recent versions of Apache. As of Ubuntu 14.04 disk_cache.conf is now cache_disk:
sudo a2enmod cache_disk
According to the official Apache upgrading guide, mod_mem_cache was removed from Apache 2.4:
These modules have been removed:
mod_authn_default,mod_authz_default,mod_mem_cache. If you were usingmod_mem_cachein 2.2, look atmod_cache_diskin 2.4.
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.