How to fix ExpiresByType takes two arguments, a MIME type followed by an expiry date code

500 Internal Server Error

Quick Introduction Recently I was optimizing a client website on a development server. Typically when optimizing I’ll start with going through .htaccess and ensuring that it’s set up for the best web performance. I will typically spend the most time with Expires headers. Every website will respond to expires headers differently which is the reason […]

How to upgrade to PHP 7 on Ubuntu with Apache and mod php.

How to install PHP 7

Prerequisites It’s always best to upgrade your php version to the latest stable version but keep in mind, your website must be able to handle the upgrade. This tutorial assumes that you’re running Ubuntu Trusty and Mod php. You must have the ability to run these commands as root or as a sudo user. If […]