Safely Running End-of-Life PHP Versions in Production

Posted By: Matt Lewis

Last Updated: Monday March 31, 2025

We believe in giving developers the flexibility they need, even when that means supporting legacy environments. While we don’t recommend running end-of-life (EOL) PHP versions in production, we’ve included HardenedPHP to help you do it as safely and securely as possible.

Sure, the newer PHP versions can deliver significant performance increases, but we get it. Whether you’re maintaining decade-old code full of mysql_* calls or supporting a project your boss refuses to upgrade, we’ve got you covered.

HardenedPHP on Hawk Host lets you safely run legacy apps on PHP versions from 4.4 through 7.4.

It’s available on all our non-cloud compute plans, just choose your preferred PHP version right from your control panel. No extra cost. No hassle.

What is HardenedPHP?

HardenedPHP lets you run older versions of PHP while backporting in security patches from the newest releases. This means you keep the flexibility of using older syntax and libraries, without being exposed to nasty exploits.

When should I use this?

How can I change my PHP version?

Click here to view the guide on our knowledgebase!

Popular Apps/Scripts for EOL PHP Versions


PHP 4.4

PHP 5.1

PHP 5.2

PHP 5.3

PHP 5.4

PHP 5.5

PHP 5.6

PHP 7.0

PHP 7.1

PHP 7.2

PHP 7.3

PHP 7.4


Thanks for reading—and hey, maybe now you can finally update that legacy code… or not.

Ready to get started? Build your site from
$2.24/mo
GET STARTED NOW