Upgrading from PHP 5.6
PHP is the language your website’s code runs on. PHP 5.6 stopped getting security fixes on 31 Dec 2018, so a site still using it has gone years without them. We move older sites from PHP 5.6 to a currently supported version of PHP, keeping your design, content and hosting the same where technically feasible.
Start a rescue request → A person reviews every request. No obligation.Why PHP 5.6 is a big jump
PHP 5.6 came out in 2014. A site moving from it to a currently supported version crosses two major releases, PHP 7 and PHP 8, and each one removed things older code relied on. PHP 7.0 alone removed:
- The old database functions (mysql_ functions) that many older sites use to read and save pages, products and customers. That code has to be rewritten to use the newer methods (mysqli or PDO)
- An older way of searching text (the ereg functions)
- A risky shortcut for search and replace (preg_replace with the /e modifier)
- An old way of reading form data sent to the site ($HTTP_RAW_POST_DATA)
PHP 7 also warned that code written in the PHP 4 style (a setup function with the same name as its class) was on the way out. PHP 8 then stopped running it, so objects quietly miss their setup and things fail further along.
Old plugins, themes and add ons
On a WordPress, Joomla or similar site, most of the code comes from plugins, themes and extensions. If a site has stayed on PHP 5.6 this long, those are usually years out of date too, and so is the core software itself. Some have newer versions that work on modern PHP. Others were abandoned by their authors and will never get a fix, so they need replacing or patching.
We list everything the site uses, check each item, and tell you what can be updated, what needs replacing and what we can fix in place.
Why we often upgrade in stages
Going from PHP 5.6 to a currently supported version in one step means fixing everything at once and not knowing which change caused which problem. On larger or custom sites we usually work in stages on a private copy of your site (a staging copy): first making the code run on PHP 7, then on a currently supported PHP 8 version. Each stage is tested before we move on.
Before we start, we take a full backup of the files and database. Your live site keeps running untouched while we work, and only moves once the copy is working and you have agreed to the switch.
Things that catch people out
- Server settings such as the memory limit, upload size and timezone often reset when a host changes PHP version, so dates can shift and big uploads can fail
- Scheduled tasks (cron jobs) on shared hosting can run on a different PHP version from the website and break separately
- Encoded files (ionCube) need a loader that supports the new PHP version, or they stop working entirely
Is a rebuild the better option?
Sometimes, but less often than people expect. If the site does what your business needs, updating the code underneath is usually less disruptive than starting again. If we find the code is not worth saving, we tell you plainly and explain why.
PHP versions and their support dates
Bug fixes come first; after that a version gets security fixes only, then nothing at all.
| Version | Released | Bug fixes until | Security fixes until | Status |
|---|---|---|---|---|
| PHP 5.6 | 28 Aug 2014 | 19 Jan 2017 | 31 Dec 2018 | No longer supported |
| PHP 7.0 | 3 Dec 2015 | 4 Jan 2018 | 10 Jan 2019 | No longer supported |
| PHP 7.1 | 1 Dec 2016 | 1 Dec 2018 | 1 Dec 2019 | No longer supported |
| PHP 7.2 | 30 Nov 2017 | 30 Nov 2019 | 30 Nov 2020 | No longer supported |
| PHP 7.3 | 6 Dec 2018 | 6 Dec 2020 | 6 Dec 2021 | No longer supported |
| PHP 7.4 | 28 Nov 2019 | 28 Nov 2021 | 28 Nov 2022 | No longer supported |
| PHP 8.0 | 26 Nov 2020 | 26 Nov 2022 | 26 Nov 2023 | No longer supported |
| PHP 8.1 | 25 Nov 2021 | 25 Nov 2023 | 31 Dec 2025 | No longer supported |
| PHP 8.2 | 8 Dec 2022 | 31 Dec 2024 | 31 Dec 2026 | Supported |
| PHP 8.3 | 23 Nov 2023 | 31 Dec 2025 | 31 Dec 2027 | Supported |
| PHP 8.4 | 21 Nov 2024 | 31 Dec 2026 | 31 Dec 2028 | Supported |
| PHP 8.5 | 20 Nov 2025 | 31 Dec 2027 | 31 Dec 2029 | Supported |
Dates from php.net. Your host may offer only some of these versions.
Questions
Can my host keep running PHP 5.6 for me?
Some hosts still offer it, sometimes for an extra fee, but it gets no security fixes. Any weakness found in it will never be patched. Many hosts are removing old versions altogether.
Which PHP version will you move my site to?
A currently supported version that your host offers and your site’s code can run on. The table on this page shows which versions get security fixes today. We confirm the exact version with you after the review.
Will my website look different afterwards?
It should not. The work is on the code underneath. Your design and content stay as they are wherever technically feasible.
How do you get access to my site?
Not through the enquiry form, and never by email. Once you agree to go ahead, we arrange access securely, usually by you adding us as a user so you never share your own password.
How it works
- 01
Tell us what’s happening
Share your web address, paste the warning from your host, or describe the problem. No PHP knowledge needed.
- 02
We review
A person looks at what you sent and works out what needs checking.
- 03
We recommend a plan and quote
You get the recommended approach, a clear scope and a price, including anything that needs further investigation.
- 04
We test and upgrade once agreed
Where feasible, changes are tested on a separate copy before going live. Nothing starts until you approve.
Let’s get your site on supported PHP.
Tell us what’s happening. A person replies.
Rescue my PHP 5.6 website →