Skip to content

PHP 8.2 end of life (31 Dec 2026): upgrade guide

PHP 8.2 security fixes end 31 December 2026 and Laravel 12 ends 24 February 2027. Which PHP version to pick, what to test, and what a quote must show.

Rosaan Ramasamy · 8 min read

In short

PHP 8.2 gets its last official security fixes on 31 December 2026. Your website or system will still open on 1 January 2027, but any security hole found after that date stays open unless your host provides backported patches. Move to PHP 8.4 (security fixes until 31 December 2028) or PHP 8.5 where your framework supports it, and check Laravel at the same time because Laravel 12 security fixes end on 24 February 2027. Test on a separate test environment before touching production. A bounded upgrade on a custom Laravel, CodeIgniter or plain PHP system can fit a fixed-price Fix Sprint (RM3,000 to RM10,000, excluding 8% SST) once inspected; unknown legacy systems start with a RM5,000 System Review.

On 1 January 2027, your PHP system will open as usual. Staff will log in, orders will go through, and nothing on screen will tell you that PHP 8.2 stopped receiving official security fixes the night before.⁠[1]

That is why this deadline gets missed. When PHP patched two critical remote flaws in October 2026 (PHP2Shell) and followed up with security releases on 19 November (8.2.36, 8.3.37, 8.4.28 and 8.5.13), official fixes went only to supported branches.⁠[2] Anyone still on PHP 8.1 or older got no upstream patch. After 31 December 2026, PHP 8.2 joins them.

There is a second date most upgrade quotations leave out. Laravel 12 reaches end of security fixes on 24 February 2027, just 55 days after PHP 8.2.⁠[3] Upgrade PHP alone in December and you may pay for the same testing twice in Q1.

First, check what kind of PHP system you run

Who can change the PHP version, what blocks the change, and what you need to test depend on what sits on top of PHP.

Your setupWho changes PHPWhat usually blocks itWhat staff must test before switch-over
Shared WordPress / WooCommerce hostingYour hosting provider or cPanel MultiPHP settingOld themes, abandoned plugins or custom checkout snippetsContact forms, checkout, payment gateway callbacks and order emails
Maintained Laravel applicationYour developer or server admin (VPS, cloud or Docker)Composer packages, Laravel version ceiling and queue workersLogin, billing, invoice PDFs, API syncs and background jobs
Inherited CodeIgniter or plain PHP portalWhoever holds the server login and source codeUndocumented code, missing tests, old database drivers or PHP 7/8.1 syntaxEvery daily screen, PDF generator, scheduled stock or email job and exports

Some managed hosts remove older PHP branches before the upstream deadline. WP Cloud, for example, scheduled PHP 8.2 removal for 15 December 2026 at 8pm Malaysia time.⁠[4] Check your host's own cut-off date rather than assuming you have until 31 December.

Which PHP version to move to in 2027

The PHP Group publishes security end dates years in advance.⁠[1] Pick the newest branch supported by your application, extensions and host so you are not repeating this job next December.

PHP versionSecurity support endsPractical choice for 2027
PHP 8.1 or olderAlready endedCheck whether your Linux distro or host supplies backported patches, and schedule an upgrade.
PHP 8.231 Dec 2026Upstream security fixes stop at year-end. Confirm the 19 November build (8.2.36) is installed while you test the move.⁠[2]
PHP 8.331 Dec 2027Temporary stepping stone only if a plugin or library blocks 8.4.
PHP 8.431 Dec 2028Sensible compatibility target for most existing business systems; active bug fixes end 31 Dec 2026, with two full years of security fixes left.
PHP 8.531 Dec 2029Longer-lived target where your host, framework and dependencies confirm support.
PHP 8.631 Dec 2030Released 19 November 2026; too new for most production frameworks right now.

Which PHP versions do WordPress, WooCommerce and Laravel support?

Check the framework sitting on top of PHP before choosing your target:

  • WordPress and WooCommerce: WordPress recommends PHP 8.3 or greater.⁠[5] Core WordPress runs well on PHP 8.3 and 8.4, but compatibility still depends on your exact core version, WooCommerce extensions, theme and payment plugins. Test a full copy on a test environment first.
  • Laravel: Laravel 11 stopped getting security fixes on 12 March 2026. Laravel 12 supports PHP 8.2 to 8.5 and stops getting security fixes on 24 February 2027. Laravel 13 supports PHP 8.3 to 8.5 and carries security fixes until 17 March 2028.⁠[3] Notice that Laravel's published matrix stops at PHP 8.5, not 8.6.
  • CodeIgniter and plain PHP: CodeIgniter 4 requires 4.6.0 or newer for PHP 8.4 and 4.7.0 or newer for PHP 8.5.⁠[6] Legacy CodeIgniter 3 and older plain-PHP portals need a careful inspection first. Most have no automated tests, so switching PHP directly on a live server tends to break things nobody notices until a customer complains: PDF invoices, email notifications or the database connection.

For the broader view on why working software becomes risky as underlying parts expire, read why a working system can still be a risk.

Why this is a business problem, not an IT one

Two practical risks show up before anything breaks on screen:

  1. Vendor questionnaires and client checks: If you sell to banks, GLCs or MNCs, their security form usually asks whether your systems run on supported software versions. An end-of-life PHP version is an answer you will have to explain.
  2. PDPA breach obligations: If an unpatched server leads to a personal data breach, Malaysia's Personal Data Protection guidelines require the data controller to notify the Personal Data Protection Commissioner as soon as practicable and within 72 hours for qualifying breaches involving significant harm or affecting more than 1,000 individuals, and to notify affected individuals within seven days where significant harm is caused or likely.⁠[7]

What a proper upgrade quotation must show

Do not approve a one-line quote that just says "Upgrade PHP to 8.4". Before signing, make sure the written scope covers five points:

  1. Exact target versions for both PHP and the framework (for example, PHP 8.4 plus Laravel 13 together, so you do not test twice).
  2. A test environment with a real copy of your data where staff can click through daily workflows before production changes.
  3. The specific flows to be checked, including login, checkout, payment callbacks, PDF generation, reports and scheduled background jobs.
  4. A clear rollback plan if a third-party plugin or server extension misbehaves after switch-over.
  5. A calm switch-over date. Schedule around your year-end closing and avoid cutting over the week before Chinese New Year (6 February 2027), when key staff and vendors are away.

What an upgrade costs and which Antdragon service fits

A simple company website on shared hosting does not need a software engineering team; ask your hosting provider what is included in your plan. For custom business software built on Laravel, CodeIgniter or plain PHP, the right starting point depends on how much you already know about the system:

  • One bounded compatibility upgrade or fault: When the system is accessible, documented and the scope is clear after inspection, a fixed-price Fix Sprint covers it at RM3,000 to RM10,000 (exact price confirmed before work starts).
  • Unknown legacy estate or missing original developer: If nobody knows what PHP version, framework or extensions are running, start with a RM5,000 System Review (delivered within 10 business days of access) so you get a written upgrade plan in priority order before committing build budget.
  • Already holding a vendor's upgrade or rebuild quote? A RM1,000 Decision Review gives you a written second opinion.
  • Ongoing updates, server monitoring and new work every month: When an upgrade sits inside a wider list of fixes or features, it runs under Managed Delivery at RM19,000/month (all prices exclude 8% SST; see our pricing page and terms).

If nobody in your company holds the server login or source code yet, start by recovering access. Our guides on who should own your code, hosting and accounts, taking over software from another vendor and what a software maintenance contract should cover walk through what to check.

Common questions

Is PHP 8.2 still safe on 1 January 2027, and will my host switch it automatically?

PHP 8.2 keeps running on 1 January 2027, but upstream security fixes stop after 31 December 2026.⁠[1] Some managed hosts do force upgrades earlier (WP Cloud set 15 December 2026),⁠[4] while VPS and cloud servers stay on 8.2 until whoever manages the server upgrades them. Ask your host both questions in writing.

Why does cPanel show PHP 8.4 while my scheduled jobs still run PHP 8.2?

In cPanel's MultiPHP Manager, changing a domain's PHP version updates web traffic for that domain, using the versions installed by your host.⁠[8] Cron jobs, queue workers and command-line scripts often point to a specific PHP binary path and keep running the older version until updated separately. On Docker setups, your developer must rebuild and redeploy the container image on a newer PHP base image and confirm the version inside the running container.

Our host offers extended or hardened PHP 8.2 support. Is that enough?

Treat extended support as extra breathing room while you test, not a permanent exit. Some Linux vendors and hosts backport security fixes onto older branches. Ask in writing which package source provides the fixes, what vulnerabilities it covers and when that support ends, then still schedule your move to PHP 8.4 or 8.5.

If PHP 8.5 is available, should we pick 8.4 or 8.5?

Pick PHP 8.5 if your framework (such as Laravel 12 or 13), third-party packages and hosting plan all support it cleanly, because security fixes run until 31 December 2029.⁠[1]⁠[3] Pick PHP 8.4 (security fixes until 31 December 2028) when older plugins or extensions are not ready for 8.5 yet.

What if nobody knows what version we run or where the code lives?

Do not guess or let anyone switch PHP on the live server first. Recover hosting and source-code access, take a full backup, and run a bounded System Review (RM5,000) to map the exact runtime, framework and dependencies before quoting the upgrade.

How we can help

We upgrade, stabilise and take over live PHP business systems built with Laravel, CodeIgniter and plain PHP. See our software takeover & rescue page for how we step into inherited systems without pausing daily operations, as we did on TCE Baby Expo across 18 months and 72+ live releases.

If you already know the system and need a bounded upgrade, ask about a fixed-price Fix Sprint (RM3,000 to RM10,000). If the system is undocumented or needs ongoing care alongside new features, start with a System Review (RM5,000) or Managed Delivery (RM19,000/month, excluding 8% SST).

Sources

Company guides are published by software companies about their own market, not independent surveys. Treat their figures as a rough guide.

  1. 1.

    Official

    Supported Versions (opens in a new tab)

    The PHP Group. Checked 4 December 2026.

  2. 2.

    Official

    Security Advisory: Multiple Vulnerabilities in PHP (November 2026) (opens in a new tab)

    MyCERT (CyberSecurity Malaysia), 2026. Checked 4 December 2026.

  3. 3.

    Official

    Release Notes (opens in a new tab)

    Laravel. Checked 4 December 2026.

  4. 4.

    Company guide

    Platform Update Schedule (opens in a new tab)

    WP Cloud. Checked 4 December 2026.

  5. 5.

    Official

    Requirements (opens in a new tab)

    WordPress.org. Checked 4 December 2026.

  6. 6.

    Official

    Server Requirements (opens in a new tab)

    CodeIgniter Foundation. Checked 4 December 2026.

  7. 7.

    Official

    Personal Data Protection Guideline: Data Breach Notification (opens in a new tab)

    Personal Data Protection Commissioner Malaysia, 2025. Checked 4 December 2026.

  8. 8.

    Company guide

    MultiPHP Manager for cPanel (opens in a new tab)

    cPanel. Checked 4 December 2026.

Rosaan Ramasamy

Founder and Managing Director, Antdragon

Rosaan started Antdragon in 2020 after over a decade building commercial software, giving Malaysian SMEs senior engineering leadership and full ownership of their code and accounts.

Filed under Support and fixes

ShareWhatsAppLinkedIn