I just installed W3 Total cache on wordpress 4.2 and I checked for compatibility and I saw this in the list:
mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_env: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_expires: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_headers: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_mime: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_rewrite: Not detected (required for disk enhanced Page Cache and Browser Cache) mod_setenvif: Not detected (required for disk enhanced Page Cache and Browser Cache)
Is there a way to fix this?
Ps. I am also wondering if this caused MYSQL to crash about 2hrs ago.
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!
You’ll need to install and configure these additional components. To do so:
First install a few deb packages and pecl packages:
sudo apt-get install php5-memcache memcached php-pear build-essential php5-tidy php5-curl apache2-dev
sudo pecl install memcache
sudo pecl install apc
Now you’ll want to enable memcached in your php.ini
sudo nano /etc/php5/apache2/php.ini
Add these lines to the Dynamic Extensions section
extension=apc.so
extension=memcache.so
Activate the new apache modules
sudo a2enmod rewrite
sudo a2enmod expires
sudo a2enmod headers
sudo service apache2 restart
Now update your wp-config to ensure the following is set:
define('WP_CACHE', true);
You should now be able to reload the compatibility test page and see the items resolved.
On your second question, when MySQL crashes you should always check the log files in /var/log/mysql without details on the crash there is no way to know whether it was related to this change. If you are on a small droplet, it is also possible that you need to enable a swap file or upgrade to a plan with more RAM. If you review the logs and can share the error we can help point you in the right direction.
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.