Heart Internet: Switch PHP Version to 5.4 & 5.5

If you’re a Heart Internet customer and have a project that needs to run a newer version of PHP, you can add a SetEnv flag to your .htaccess file to switch the version on the fly.

For PHP 5.5 use:

SetEnv DEFAULT_PHP_VERSION 55

For PHP 5.4 use:

SetEnv DEFAULT_PHP_VERSION 54

You can also switch back a version down to 5.2 and 5.1.