Skip to content

PHP End of Life: How long your PHP version still gets security updates

It usually starts with an email: your hosting provider announces that it will switch off your PHP version and names a deadline. You can hardly judge what that means for your application, and whoever built it may no longer be around. In the worst case, from one day to the next it runs on a PHP version it wasn’t built for and shows nothing but error messages or a blank white page. Here you’ll see how long your version is covered, how long your hosting provider will still offer it and what you should do until then.

By Dimitri König9 min read

PHP versions with release date and end of security updates
VersionSecurity updates untilTime leftStatus
PHP 8.6latest 8.6.0released Nov 19, 2026SupportedDec 31, 20301,498 days left1,498 days leftSupported
PHP 8.5latest 8.5.13released Nov 20, 2025SupportedDec 31, 20291,133 days left1,133 days leftSupported
PHP 8.4latest 8.4.28released Nov 21, 2024SupportedDec 31, 2028768 days left768 days leftSupported
PHP 8.3latest 8.3.37released Nov 23, 2023Security updates onlyDec 31, 2027402 days left402 days leftSecurity updates only
PHP 8.2latest 8.2.36released Dec 8, 2022Support ending soonDec 31, 202637 days left37 days leftSupport ending soon
PHP 8.1latest 8.1.34released Nov 25, 2021No longer supportedDec 31, 2025expiredexpiredNo longer supported
PHP 8.0latest 8.0.30released Nov 26, 2020No longer supportedNov 26, 2023expiredexpiredNo longer supported
PHP 7.4latest 7.4.33released Nov 28, 2019No longer supportedNov 28, 2022expiredexpiredNo longer supported
PHP 7.3latest 7.3.33released Dec 6, 2018No longer supportedDec 6, 2021expiredexpiredNo longer supported
PHP 7.2latest 7.2.34released Nov 30, 2017No longer supportedNov 30, 2020expiredexpiredNo longer supported
PHP 7.1latest 7.1.33released Dec 1, 2016No longer supportedDec 1, 2019expiredexpiredNo longer supported
PHP 7.0latest 7.0.33released Dec 3, 2015No longer supportedJan 10, 2019expiredexpiredNo longer supported
PHP 5.6latest 5.6.40released Aug 28, 2014No longer supportedDec 31, 2018expiredexpiredNo longer supported
Data: endoflife.date and php.net Supported Versions, retrieved Nov 24, 2026. Time left calculated on Nov 24, 2026.

What does end of life mean for PHP?

End of life in PHP means that no more fixes are released for a PHP version, not even for security vulnerabilities. The PHP version keeps working, but every newly discovered weakness stays open.

According to php.net, every PHP version gets two years of active support with bug and security fixes, followed by two years of security updates only. The end of security updates always falls on December 31. The newest version is PHP 8.6 from November 19, 2026; what it brings and who supports it yet. The end-of-life calendar shows the deadlines for PHP, frameworks and CMSs through 2029 at a glance.

How widespread are outdated PHP versions?

More than a third of PHP websites run on PHP 7 or older, and therefore on versions without security updates, according to W3Techs (as of September 29, 2026). PHP is used on 69.8 percent of all websites whose server-side language is known. Of these, 64.3 percent run on PHP 8, 27.8 percent on PHP 7, 7.8 percent on PHP 5 and 0.1 percent on PHP 4. PHP 8.0 and 8.1, which count toward the PHP 8 share, are out of support as well.

How long do Swiss hosting providers offer old PHP versions?

The rules of Swiss hosting providers for old PHP versions vary widely (as of October 27, 2026). So what matters for you isn’t just the date at php.net, but above all your hosting provider’s deadline:

  • Until the end of support: At hosttech and Onlime, PHP 8.2 is only available until the end of 2026, the end of support at php.net (as of October 2026).
  • With a transition period: Hostpoint usually offers old PHP versions for up to one year after the end of support, cyon for two more years, for example PHP 8.2 until January 31, 2029 (as of October 2026).
  • For an extra fee: METANET, HOSTFACTORY, Kreativmedia, NetZone and Novinet keep old PHP versions available for a fee (as of October 2026).
  • Automatic switch: At Hostpoint, Kreativmedia and Onlime, your application keeps running on the new default PHP version if you don’t react, whether it’s ready for it or not (as of October 2026).

The table of PHP deadlines at Swiss hosting providers summarizes what the hosting providers themselves publish (as of October 27, 2026, sources at the end of the article). What your hosting provider tells you is binding.

Hosting provider Old PHP versions after the end of support What happens next Extra fee
Hostpoint (as of October 27, 2026) Old PHP versions usually up to one year after the end of support, then disabled Websites without a pinned PHP version run on the new default version. With a pinned version, the website may go down None published
cyon (as of October 27, 2026) Two more years: PHP 7.4 and 8.0 until February 28, 2027; PHP 8.1 until January 31, 2028; PHP 8.2 until January 31, 2029 The default PHP version is raised regularly, announced by email None published
hosttech (as of October 27, 2026) Fixed dates, mostly until the end of support: PHP 8.2 and 8.3 until December 31, 2026; PHP 7.4 to 8.1 no longer available since the end of 2024 Shutdowns of old PHP versions are announced at least three months in advance None published
Onlime (as of October 27, 2026) Until the end of support: PHP 8.2 will be “discontinued at the end of 2026” For PHP 8.1: announcement, email with one week’s notice, automatic switch to PHP 8.2, two weeks to switch back None published
HOSTFACTORY (as of October 27, 2026) Fixed switch dates: PHP 7.4 and older January 15, 2027; PHP 8.0 February 15, 2027; PHP 8.1 March 15, 2027; PHP 8.2 April 30, 2027 Email three to six months in advance. Without a response, automatically moved to the paid LegacyPHP; the website keeps running LegacyPHP: additional licenses at CHF 1.45 per domain account and month
Kreativmedia (as of October 27, 2026) Fixed dates: PHP 8.1 from January 31, 2027; PHP 8.2 from January 31, 2028; PHP 8.3 from January 31, 2029 Automatically the next higher default PHP version; an incompatible website may go down “Webhosting Custom” option with PHP 7.4 to 8.3 on a separate system: CHF 4.00 per month
METANET (as of October 27, 2026) Old PHP versions indefinitely, but subject to a fee since June 2026 Email notice, then PHP Extended Support is activated PHP 8.0 and 8.1: CHF 4.90, PHP 7.x: CHF 10.90 per month and hosting contract
Hoststar (as of October 27, 2026) Fixed dates per PHP version, PHP 8.1 probably until November 2026 according to Hoststar’s table For PHP versions that are no longer supported, contact support None published
Infomaniak (as of October 27, 2026) No deadline published; shared hosting still runs versions from PHP 5.6 up Warning in the dashboard; switching to a newer PHP version takes effect immediately None published, PHP 7.x only on request
green.ch (as of October 27, 2026) No rule published, older PHP versions “possibly only as part of extended support” Windows hosting: since October 23, 2026, PHP 8.1 and older has been switched automatically to a supported PHP version Extended support mentioned, price not published
Novatrend (as of October 27, 2026) No fixed date, old PHP versions keep getting security fixes through CloudLinux A shutdown “could” come with the next CloudLinux version None published
SwissCenter (as of October 27, 2026) No deadline, selectable back to PHP 5.2, fixes through CloudLinux PHP versions before 5.6 are to be removed “prochainement” (soon), without a date None published
FireStorm (as of October 27, 2026) No deadline, PHP 5.6 to 8.5 selectable No automatic switch published None published
NetZone (as of October 27, 2026) Standard packages only with PHP 8.2 to 8.5, older PHP versions on request or in the “Economy Past” package A pinned PHP version doesn’t change automatically “Economy Past”: CHF 17.90 per month
Novinet (as of October 27, 2026) PHP 4.4 to 7.3 as a special solution on a dedicated virtual server No rule published For an extra fee, price not published
nine.ch (Managed Server, as of October 27, 2026) PHP versions tied to the server’s Ubuntu version When upgrading to Ubuntu 24.04, all vHosts below PHP 8.2 are automatically set to PHP 8.2 PHP environment on Ubuntu 18.04 and 20.04: CHF 20 per month plus ESM license
Ops One (Managed Server, as of October 27, 2026) PHP versions tied to the Managed Server version; Managed Server 10 lists PHP 7.4 to 8.1 as EOL No automatic switch None published
EveryWare (as of October 27, 2026) No rule published On October 23, 2026, switched without a transition period because of the PHP vulnerabilities of October 2026, for example PHP 7.4 to 8.5 and PHP 8.1 to 8.2 None published

For the following Swiss hosting providers, I found no published rule on old PHP versions (as of October 27, 2026): AlpHosting, Centinated, Datencenter, FastHosting, Fuseboat, Galaxyweb, Hidora, HostTime, it factory, ORC Webhosting, Poli Systems, Servertown, Simple Hosting, Swizzonic, swissns, Ticinocom, Trendhosting, VirtualTec, VTX and Witweb. If your hosting provider isn’t in the table of PHP deadlines, ask them directly. Swisscom discontinued its web hosting entirely as of May 31, 2024.

If your application shows error messages or a blank white page after your hosting provider switched the PHP version, the article Getting your web application running again explains what you can do first. If your business has already come to a standstill because of it, the emergency fix from Unique-P helps.

How dangerous it is to stay on an old PHP version was shown by the critical PHP vulnerabilities of October 2026: several hosting providers switched applications over without notice or took servers offline as a precaution.

What should you do before the end of support?

  1. Find out the PHP version. You’ll find your application’s PHP version in the hosting panel, in composer.json under require.php or with phpinfo() on a protected page.
  2. Check the framework and CMS. Which PHP versions does your version of Laravel, Symfony, TYPO3, Drupal or Shopware support? Often, the framework has to be updated as well.
  3. Check your code’s compatibility. Tools such as PHPCompatibility and Rector find removed PHP functions and deprecated constructs.
  4. Set up a test environment. Test your application with the new PHP version before you switch the live system.
  5. Update step by step. Big jumps, such as from PHP 7.4 to 8.4, are easier to control in stages.
  6. Monitor after the switch. Follow the error logs closely during the first few days after the PHP switch, because some problems only occur in rare workflows.

How much work is the PHP upgrade?

How much work a PHP upgrade is mainly depends on the starting version and on whether the framework or CMS has to be upgraded too. From PHP 8.1 or 8.2 to 8.4, it’s usually a small step. From PHP 7.4 and older, functions are removed, and many older framework versions don’t run on PHP 8. The assessment for each starting version, which PHP version your framework or CMS supports and how the upgrade works are covered in the article Updating your PHP version.

If your application is going to be replaced soon anyway, a big step in the PHP version may no longer be worth it: the article Keeping a legacy system running until its replacement helps you choose between investing, freezing and switching.

What if nobody knows your application anymore?

A PHP upgrade is routine when someone knows your application. It gets difficult when the original developer is gone and nobody knows which parts depend on the old PHP version. For exactly this situation, Unique-P offers the Takeover Assessment: it shows which PHP version is running, what an upgrade requires and how urgent it is. After that, ongoing maintenance keeps PHP, framework and packages up to date on a fixed schedule, so the next deadline doesn’t catch you off guard again.

Whether the PHP upgrade is your hosting provider’s job, your developer’s or yours is clarified in the article Who is responsible: hosting provider, developer or you?.

Sources

  1. [1]Supported Versions · php.net
  2. [2]Unsupported Branches · php.net
  3. [3]Usage statistics of PHP for websites · W3Techs, September 29, 2026
  4. [4]Umstellung der PHP-Versionen · Hostpoint Support Center
  5. [5]Verfügbarkeit einer PHP-Version · cyon
  6. [6]PHP-Versionen · hosttech
  7. [7]PHP Extended Support · METANET
  8. [8]HOSTFACTORY LegacyPHP · HOSTFACTORY
  9. [9]Deaktivierung PHP-Versionen · Kreativmedia
  10. [10]Verfügbarkeit der PHP-Versionen bei Hoststar · Hoststar
  11. [11]PHP · Onlime
  12. [12]PHP 8.5 wird Standard-Version (CLI) · Onlime
  13. [13]Ein PHP-Problem beheben (veraltete Version) · Infomaniak
  14. [14]PHP-Info · green.ch
  15. [15]Wie lange bietet Novatrend eine alte PHP-Version an? · Novatrend
  16. [16]Wird PHP 5.6 eingestellt? · FireStorm
  17. [17]Economy Past Hosting-Paket · NetZone
  18. [18]Failles PHP d'octobre 2026 corrigées (CloudLinux) · SwissCenter
  19. [19]Joomla Hosting · Novinet
  20. [20]Which software versions are available on my server? · nine.ch
  21. [21]Ubuntu Jammy Upgrades · nine.ch
  22. [22]Managed Server 10 · Ops One
  23. [23]Status · EveryWare
  24. [24]Windows-Hosting, Umstellung PHP 8.1 und älter · green.ch
  25. [25]Migrating from PHP 7.4.x to PHP 8.0.x, Backward incompatible changes · php.net
  26. [26]Migrating from PHP 8.1.x to PHP 8.2.x, Deprecated features · php.net
  27. [27]Migrating from PHP 8.3.x to PHP 8.4.x, Deprecated features · php.net

Frequently asked questions.

How long does PHP 8.2 get security updates?

PHP 8.2 gets security updates until December 31, 2026. PHP 8.2 was released in December 2022, active support ended at the end of 2024, and since then there have only been security updates. The most recent security update so far is PHP 8.2.36 from November 19, 2026. From January 1, 2027, no more official fixes will be released for PHP 8.2. Some Linux distributions and commercial providers will keep delivering security fixes for a while, but you shouldn’t rely on that. If your application runs on PHP 8.2, plan the switch to PHP 8.4 or 8.5 now.

Planning a PHP upgrade

Is PHP 7.4 still safe?

No, PHP 7.4 is no longer safe, because it has had no security updates since November 28, 2022. Your application still runs, but every vulnerability discovered since then stays open. Many hosting providers have already switched off PHP 7.4 or only offer it for an extra fee.

The PHP vulnerabilities of October 2026

Does my application simply keep running after the end of support?

Your application technically keeps running after its PHP version reaches end of support, as long as your hosting provider offers that PHP version. End of life doesn’t mean that PHP stops working, but that no more security fixes are released. The risk grows every month, and at some point your hosting provider switches the version off.

Which PHP version should I use?

The best PHP version for your application is the latest one your framework or CMS supports. As of November 2026, that’s ideally PHP 8.4 or 8.5, with security updates until the end of 2028 and the end of 2029 respectively. PHP 8.3 is covered until the end of 2027 and is a sensible intermediate step. The new PHP 8.6 is covered until the end of 2030, but on its release day, November 19, 2026, hardly any framework or CMS had approved it.

PHP 8.6: what’s new and who is ready

How long do Swiss hosting providers still offer PHP 8.1 and 8.2?

How long Swiss hosting providers still offer PHP 8.1 and 8.2 varies a lot. According to their own information (as of October 2026), cyon offers PHP 8.1 until January 31, 2028, and PHP 8.2 until January 31, 2029, while Hostpoint usually offers older PHP versions for up to one year after the official end of support. At hosttech and Onlime, PHP 8.2 is only available until the end of 2026. HOSTFACTORY moves PHP 8.1 to the paid LegacyPHP on March 15, 2027, and PHP 8.2 on April 30, 2027.

What does it cost to keep running an old PHP version at your hosting provider?

Some Swiss hosting providers charge extra to keep running an old PHP version. According to their websites (as of October 2026), PHP Extended Support at METANET costs CHF 4.90 per month for PHP 8.0 and 8.1 and CHF 10.90 for PHP 7.x, per hosting contract. HOSTFACTORY charges for additional LegacyPHP licenses at CHF 1.45 per domain account and month, and Kreativmedia offers the “Webhosting Custom” option with PHP 7.4 to 8.3 for CHF 4.00 per month. Such an extra fee buys time, but it doesn’t replace a PHP upgrade.