PHP 5 End of Life is upon us; why you should care.
Tags: php, security, help, endoflife
Published: 2018-10-15 15:36:45

---
title: PHP 5 End of Life is upon us; why you should care.
published: true
description: PHP 5 is reaching end of life. Find out what this means to you and your organization if you rely on a PHP 5 application and what can be done about it.
tags: php, security, help, end_of_life
cover_image: https://blog.davidjeddy.com/wp-content/uploads/2018/10/chadhagen_HP_revised_8-4_Illo_3-1.png
---


[Cross posted from my blog.](http://blog.davidjeddy.com)

<!-- wp:paragraph -->
<p>In 2004 PHP 5 was released to the public. In that year the United States economy had recovered from the .com bubble, Windows XP was hitting its stride being released 3 years earlier, and the #1 pop song of the year was <a href="https://en.wikipedia.org/wiki/Billboard_Year-End_Hot_100_singles_of_2004">"Yeah" by  </a><a href="https://en.wikipedia.org/wiki/Billboard_Year-End_Hot_100_singles_of_2004">Usher</a>. Let that sink in, <a href="https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions">Windows XP was 3 years</a> old when PHP 5 was release. It has been awhile.</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":971} -->
<figure class="wp-block-image"><img src="https://blog.davidjeddy.com/wp-content/uploads/2018/10/php_2018_10_support_timeframe.png" alt="" class="wp-image-971"/><figcaption>PHP version official support timeline.</figcaption></figure>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>Over the following half decade minor point releases were published as any good language would do. Released in August of 2014 PHP 5.6 brough many good, but minor, updates to the language. As of today (Oct. 2018) it is one of the most popular versions of PHP in production. And that is were the the problem originates from. Even though a new major release published nearly 3 years in age, the adoption has stagnated in recent years. Now 5.6 will be End of Life in mear months. That means no more updates, no more security patches, no more assistance when issues are discovered. If the end of life for Windows XP showed us anything it demonstrates that when a piece of software reaches end of life, and is still widely used, that software becomes a prime target for bad actors. What better target could the bad actor have than software with security vulnerabilities that will <strong>not</strong> get fixed.</p>
<!-- /wp:paragraph -->

<!-- wp:paragraph -->
<p>Not to sound like a fear monger but if you have an application running PHP 5 and you do not have an upgrade path to completion in the next 6 months; start planning to have a data breach, bad press, a damaged reputation, lose customers, and possible lawsuit due to legnagance. It is not a matter of IF you will be breached; but WHEN. Do you really want to be one of the companies listed on <a href="https://haveibeenpwned.com/">https://haveibeenpwned.com/</a> due to a data breach?</p>
<!-- /wp:paragraph -->

<!-- wp:image {"id":972,"align":"center"} -->
<div class="wp-block-image"><figure class="aligncenter"><img src="https://blog.davidjeddy.com/wp-content/uploads/2018/10/php7_interconnect_servers.png" alt="" class="wp-image-972"/><figcaption>PHP, the  glue of the modern public internet.</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:heading -->
<h2>What can be done?!</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>So what can be done about this situation? Well, that depends on your level of technical skill and hosting provider. Some hosts have had PHP 7 support since day 1. Meaning the update is a matter of focusing on your application. Others hosts lage behind. Contact your hosting provider and push them to support a secure version of the language. If you have a little technical knowledge you and your team may be able to do a direct migration to a new machine with PHP7. Otherwise if you are a bit more technical you can install PHP 7 yourself. This may require removing an unsupported Wordpress plugins, swapping code libraries, or even doing some reprogramming due to a language extension no longer being supported.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>For the programmers among us</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>As a programmer / developer what can you do to make the move to PHP 7 as quickly, and painlessly, as possible? First and foremost though check the <a href="http://php.net/manual/en/migration70.php">migration documentation</a> available at <a href="https://php.net">php.net</a>. If you are still using any of the four extensions listed below you will have <em>some</em> work ahead of you, otherwise the amount of breaking changes was purposely kept to a minimum.</p>
<!-- /wp:paragraph -->

<!-- wp:list -->
<ul><li>ereg</li><li>mssql</li><li>mysql</li><li>sybase_ct</li></ul>
<!-- /wp:list -->

<!-- wp:image {"id":973,"align":"center","width":463,"height":308} -->
<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="https://blog.davidjeddy.com/wp-content/uploads/2018/10/php7_trading_graph.jpg" alt="" class="wp-image-973" width="463" height="308"/><figcaption>PHP applications are so ubiquitous they are a commodity.</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:paragraph -->
<p>The bonus pay off for the migration is worth the effort; your system/s are up to date, more secure by nature, and even run 30% faster. That means 30% more3 visitors on the same hardware or being able to downgrade hardware and save money in the long term.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Related Articles / Resource</h2>
<!-- /wp:heading -->

<!-- wp:list -->
<ul><li><a href="http://php.net/supported-versions.php">http://php.net/supported-versions.php</a></li><li><a href="https://haydenjames.io/php-5-6-eol-end-of-life-php-7-compatibility-check/">https://haydenjames.io/php-5-6-eol-end-of-life-php-7-compatibility-check/</a></li><li><a href="https://www.godaddy.com/community/Managing-Web-Hosting/PHP-5-6-End-of-Life/td-p/51463">https://www.godaddy.com/community/Managing-Web-Hosting/PHP-5-6-End-of-Life/td-p/51463</a></li><li><a href="https://itristanmedia.com/blog/2018/05/17/php-5.6-is-approaching-its-end-of-life-and-what-to-do-about-it/">https://itristanmedia.com/blog/2018/05/17/php-5.6-is-approaching-its-end-of-life-and-what-to-do-about-it/</a></li><li><a href="https://www.zdnet.com/article/around-62-of-all-internet-sites-will-run-an-unsupported-php-version-in-10-weeks/">https://www.zdnet.com/article/around-62-of-all-internet-sites-will-run-an-unsupported-php-version-in-10-weeks/</a><br/></li><li><a href="https://w3techs.com/technologies/details/pl-php/all/all">https://w3techs.com/technologies/details/pl-php/all/all</a></li><li><a href="https://sensorstechforum.com/support-php-5-6-x-ends-websites-risk/">https://sensorstechforum.com/support-php-5-6-x-ends-websites-risk/</a></li></ul>
<!-- /wp:list -->

<!-- wp:image {"id":974,"align":"center","width":580,"height":291} -->
<div class="wp-block-image"><figure class="aligncenter is-resized"><img src="https://blog.davidjeddy.com/wp-content/uploads/2018/10/php7_quad_color.png" alt="" class="wp-image-974" width="580" height="291"/><figcaption>PHP 7 is the now and the future.</figcaption></figure></div>
<!-- /wp:image -->

<!-- wp:heading -->
<h2>Help is available</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>To get a low cost evaluation and talk about a mitigation plan for FREE please reach out to <a href="me@davidjeddy.com">me [at] davidjeddy [dot] com</a>. This is so important I will provide you an initial security audit for FREE. Your application security and user privacy is that important to me; and it should be to you as well.</p>
<!-- /wp:paragraph -->

<!-- wp:heading -->
<h2>Wrap up</h2>
<!-- /wp:heading -->

<!-- wp:paragraph -->
<p>It is does not matter if you have no I.T. team, using a managed hosting provider, or you are an enterprise with thousands of developers and operations people. This affects affects you.</p>
<!-- /wp:paragraph -->