Upgrading Magento Open Source 2.4.6 and older

A store on Magento Open Source 2.4.6, 2.4.5 or 2.4.4 no longer receives standard support. This page covers choosing 2.4.8 or 2.4.9, the PHP and database jumps, and what an unsupported store means for PCI DSS.

On this page

Why a Magento Open Source store on 2.4.6 or older needs a move now

If your store runs Magento Open Source 2.4.6, 2.4.5 or 2.4.4, it is already outside standard support or will be shortly, and the move should target 2.4.8 or 2.4.9. Adobe's lifecycle policy gives each 2.4.x release three years of standard support from general availability. Support for 2.4.6 ends on August 11, 2026, 2.4.7 on May 31, 2027, 2.4.8 on May 31, 2028 and 2.4.9 on May 31, 2029. Confirm these dates against the Adobe Commerce lifecycle policy before you set a board-level deadline, since your internal sign-off may need a documented source.

Adobe's upgrade guide recommends taking every patch cycle to stay secure and PCI compliant, so a store that has stayed on 2.4.4 or 2.4.5 has likely missed several security releases already. Ask your team to list the patch level currently installed and the date of the last applied security patch. That list is the starting evidence for your risk owner. Adobe's release schedule says a full patch for the 2.4.x LTS line ships each May and security patches are released at least annually for all supported lines, so the cadence you plan around should match that rhythm rather than an ad hoc schedule.

Of the current lines, 2.4.9 is the newest in the facts supplied for this page, and 2.4.8 remains supported until May 31, 2028. The 2.4.10 line has only reached alpha1, so it is not a planning target for production. Choose 2.4.9 if your extensions, theme and hosting stack can follow its requirements, since it carries the longest remaining support window. Choose 2.4.8 if a dependency forces a slower step, and record that decision with its reason. Either way, check the system requirements for the chosen version before you start, because Adobe supports only the listed combinations.

What changes between the old lines and 2.4.8 or 2.4.9

This table compares what the 2.4.8-p5 and 2.4.9 releases require and change against a store still on 2.4.6, 2.4.5 or 2.4.4. Read each row as a question to answer for your own stack: which component moves, what breaks if it does not, and what you need to test or replace before cutover. Only Adobe's listed combinations are supported, so the platform versions in each row are a set to move together.

ChangeImpact on an older storeAction needed
PHP 8.5 and Symfony 7.4 LTS in 2.4.9Custom modules, extensions and themes must run on PHP 8.5 and Symfony 7.4 LTS, which older code may not supportRun a compatibility review of every custom module and extension, then test on PHP 8.5 in staging
PHP 8.4 or 8.3 in 2.4.8-p5A PHP step from older lines lands on a lower version than 2.4.9 requires, so 2.4.8 is a stepping stone only if you plan a later jumpDecide whether the target is 2.4.8-p5 or 2.4.9 before changing PHP versions
2.4.9 database requirementMySQL 8.4, or MariaDB 12.3 (recommended) or 11.8, replaces older database versionsConfirm the database engine, rehearse the upgrade on a production-sized copy and check backups
OpenSearch 3 for search2.4.9 lists OpenSearch 3 only, so Elasticsearch-based search must be replaced before the search engine can workProvision OpenSearch 3, switch the catalog search engine setting and run full reindexing
Valkey 9 or Redis for cache and sessions2.4.9 lists Redis or Valkey 9 and 2.4.8-p5 lists Redis or Valkey 8.1, so the cache and session version must match the targetConfirm the cache and session version for your target and test session persistence
RabbitMQ 4.3, Composer 2.10 and nginx 1.30Message queue, dependency manager and web server versions in both target requirement setsUpgrade each component in staging and confirm the build, queues and web server configuration
Varnish 8 in 2.4.8-p5Self-managed installations listing Varnish 8 need the full-page cache accelerator updated to that versionPlan the Varnish upgrade with the web server and cache configuration in staging
CSP in restrict mode by default from 2.4.7Content Security Policy runs in restrict mode on storefront and admin payment pages, so unlisted scripts can be blockedReview payment and third-party script sources and test checkout and admin pages before launch
clearCart GraphQL mutation in Open SourcePreviously available only in Adobe Commerce, so headless or custom front ends can now call it on Open Source 2.4.9Confirm whether any front end depends on it and add it to API tests

Which breaking changes and deprecations hit custom code first

The breaking changes that matter most for a 2.4.6, 2.4.5 or 2.4.4 store are the ones in your own code, not in the core. The supplied facts do not list every deprecation between these release lines and the target, so do not treat any short list as complete. Start with the Upgrade Compatibility Tool that Adobe's upgrade guide references, then read the release notes for each release line you will pass through. Check whether the tool covers Magento Open Source for your exact version pair, because coverage can differ from the Adobe Commerce edition. Confirm that with Adobe before you plan the upgrade around it.

Review custom modules, themes and language packages as separate component types, since Adobe's developer documentation describes each one as a way to extend Magento Open Source. Modules follow a PSR-4 compliant structure, so check namespaces, autoloading and class locations first, then the dependency injection configuration, plugins and observers that call core classes. Themes need a review of template overrides, layout XML and JavaScript. Language packages are the lowest risk, but they can still break when the strings they override change.

Content Security Policy is a common source of breakage that is easy to miss in testing. Adobe documents CSP support from 2.3.5, and from 2.4.7 CSP runs in restrict mode by default on storefront and admin payment pages. Inline scripts and styles in custom themes and modules can be blocked once restrict mode applies, so list every inline script you own and move each one to an allowed source before the cutover. Confirm with Adobe's CSP documentation which policy applies to your target version and which pages it covers.

Choosing 2.4.8 or 2.4.9 as the target for your store

Adobe's lifecycle policy gives each 2.4.x release three years of standard support from general availability. Magento Open Source 2.4.8 has standard support until May 31, 2028, and 2.4.9 until May 31, 2029. For a store that wants the longest runway before its next forced upgrade, 2.4.9 is the stronger target, provided its extensions and infrastructure can run on it. Choosing 2.4.8 gives a shorter window but may be easier if your stack is not ready for the 2.4.9 requirements.

  • 2.4.9 window: standard support runs to May 31, 2029, the longest of the current options.
  • 2.4.8 window: standard support runs to May 31, 2028, which is a shorter but still multi-year runway.
  • Patch cadence: Adobe's release schedule says security patches ship at least annually for all supported lines, so both targets need a patch process after go-live.
  • Recurring cost: each upgrade cycle repeats extension, theme and integration testing, so a longer window reduces how often that work recurs.
  • Ask Adobe or your partner: confirm the current end-of-support dates in Adobe's lifecycle policy before you sign a plan, since the dates are the basis for the decision.

Before choosing, check the lifecycle policy and the released versions page for any changes to dates or patch availability.

Backups, inventory and a test environment before the first change

An upgrade from 2.4.6, 2.4.5 or 2.4.4 changes code, PHP, the database and search at once, so the store needs a restore point and a clear list of what it depends on. These four cards cover what you should have in hand before any work begins, and the compatibility check that tells you what the target stack will break.

Full code and database backup

Take a complete copy of the codebase, including app/etc/env.php, pub/media, and any custom directories, plus a full database dump taken with the store in maintenance mode. Store both off the server and confirm you can restore them to a clean host. Record the exact Magento version, PHP version and Composer lock file so you can return to the starting point if the upgrade fails. A backup you have never restored is not yet a restore point.

Customization inventory

List every custom module, theme, layout override, and direct core file change in the store, with the owner and the reason it exists. Customizations are one of the main drivers of upgrade effort, so this list sets the size of the work. Mark which items are still needed and which can be removed before the move.

Upgrade guide overview

Extension and integration register

Record every installed extension with its vendor, installed version, and whether the vendor has published support for the target release. Add each third-party integration, such as ERP, payment, shipping, tax, search and messaging connections, with its endpoint, credentials owner and data flow. Extension count and third-party integrations both drive effort, and an extension without a vendor path to the target line usually becomes a replacement project.

Production-sized staging copy

Build a staging environment from a recent production database and media set, with its size close to production. Disable outbound email, payment captures and integration webhooks so test traffic cannot reach live systems. Use this copy for every trial upgrade, because data volume often exposes timeouts, indexer runtimes and migration problems that a small sample hides.

PHP and database compatibility check

On a non-production host, run the current code against the PHP and database versions the target release lists, and confirm that Composer resolves dependencies for that combination. Adobe supports only the listed combinations, so anything outside the list is a finding to fix, not a risk to accept. Record which versions of PHP, MySQL or MariaDB, OpenSearch, Redis or Valkey and RabbitMQ pass, and which fail.

System requirements

What an unsupported Magento store means for PCI DSS

PCI DSS applies to any entity that stores, processes or transmits cardholder data or sensitive authentication data, and to any entity whose systems could affect the security of that cardholder data environment. A Magento Open Source store that takes card payments sits inside that scope whether or not the platform is still receiving fixes, so the first question is not whether PCI DSS applies but how the unsupported platform will be scored. The PCI Security Standards Council owns the standard, but it does not enforce compliance or impose penalties. The individual payment brands decide which entities must validate and run any enforcement, so confirm with your acquirer what it requires for your store and by when.

Adobe's upgrade guide ties regular patch-level upgrades to staying secure and PCI compliant, which makes the platform version part of your evidence rather than a background detail. PCI DSS v4.0.1 is the only active version of the standard, and v4.0 was retired on 31 December 2024. Your assessor will check your environment against v4.0.1, including how you handle system components that no longer receive security patches. Ask your assessor, before you choose a target release, whether a store on 2.4.6, 2.4.5 or 2.4.4 can be validated with the unsupported components documented as a known gap, what compensating or customized-approach evidence they would accept, and whether a remediation date in your plan will be acceptable.

Validation is carried out by a Qualified Security Assessor who completes a Report on Compliance, or by you on an official Self-Assessment Questionnaire with an Attestation of Compliance. Either way, the assessor decides how the unsupported Magento version, its PHP and database versions and any unmaintained extensions affect the score. A certificate or a vendor statement that the store is compliant is not accepted as validation. Before the upgrade starts, document the current versions of Magento, PHP, MySQL or MariaDB, OpenSearch, Redis and RabbitMQ, the cardholder data flows, and the patch history, then agree with your assessor which evidence will carry the store through the upgrade window.

How a staged upgrade runs from backup to cutover

This sequence moves a Magento Open Source store off an unsupported 2.4.x line through a rehearsed path, with a verified backup and a rollback point at every stage so production changes only after staging has passed the same steps.

  1. Freeze scope and take verified backups

    Freeze code, extension and theme changes for the upgrade, then capture the database, the media directory, the codebase including composer.lock, and the environment configuration (env.php and any shared or system-specific settings). Restore the backup into a separate environment and confirm the store loads and the admin can sign in. The step is done when a restore has been tested, not just when a backup file exists, and the backup set is the rollback point for everything that follows.

  2. Rebuild staging on target PHP and database versions

    Build a staging environment that matches the target release's requirements: the PHP version, MySQL 8.4 or MariaDB version, OpenSearch 3, Redis or Valkey, RabbitMQ, Composer and nginx combinations listed in Adobe's system requirements for the chosen release. Adobe supports only the listed combinations, so confirm each pairing against the published requirements before installing. The step closes when the empty installation starts, the cron and indexers run, and the version of each component is recorded in the runbook.

  3. Upgrade the codebase in staging with Composer

    Restore the production code into staging on a branch, then update the Magento packages and dependencies with Composer to the target release, resolving constraint conflicts for each third-party extension. Run the setup upgrade and compile steps, and log every package that fails to resolve or needs a replacement. The step is complete when Composer finishes without unresolved conflicts and every extension is either on a version declared compatible with the target or marked for replacement or removal.

  4. Run database and data upgrade in staging

    Apply the schema and data upgrade against a copy of the production database, then review the setup upgrade output for errors, failed declarative schema changes and custom module scripts that did not finish. Record the run time and any manual fixes so production can repeat them exactly. The step is done when the upgrade completes on a clean run from the backup copy and a second run reports no pending changes, which is the rollback point for the database if a later test fails.

  5. Reindex and test checkout and integrations

    Run a full reindex on the search engine you have configured for the target release, then test catalog search, category listing, product pages, cart, checkout with each payment method, tax calculation, shipping rates, and every ERP, shipping, messaging and analytics integration against sandbox endpoints. Compare results with the pre-upgrade store on a fixed set of test orders. The step closes when each scripted path passes and every defect has an owner and a fix in the staging branch.

  6. Rehearse the cutover with a production-sized copy

    Run the full sequence once more from a fresh production-sized copy of the database and media files, timing each stage and writing down the exact commands, maintenance mode windows and the order of service restarts. Confirm that PHP-FPM, the cache layer, sessions and the search engine come up in the expected order and that cron resumes. The rehearsal is complete when the runbook produces the same staging result twice and the team has reviewed each command against the rollback plan.

  7. Deploy to production behind a rollback point

    Take a fresh production backup immediately before the change, enable maintenance mode, deploy the tested code and environment configuration, run the database upgrade and reindex, then run the smoke tests used in staging. Keep the previous code release and the pre-change database backup available until the smoke tests and first live orders have passed. The step is done when the store passes the checkout and integration checks in production and the previous release is kept as the rollback point until sign-off.

  8. Confirm sign-off and record evidence

    Review error logs, payment and integration logs, and order flow after the cutover, then record the final versions, the test results, the backup identifiers and any compensating decisions for extensions that were replaced or retained. Keep this record with the PCI DSS evidence for the change so the assessor or internal reviewer can trace what changed and why. Sign-off is complete when the record is filed, the rollback point is retired on a dated decision, and scheduled patch reviews are assigned.

Each cutover keeps a snapshot to roll back to

The diagram starts with a full backup of the live store, which becomes the production snapshot and the rollback point for the whole project. That snapshot is restored into a staging copy built on the target stack, including the PHP version, database, OpenSearch, Valkey, RabbitMQ, nginx and Varnish where you use it. The copy then passes through test gates covering checkout, catalog search, integrations and custom code. Only after a rehearsal run timed against the cutover plan does the work move to production. If cutover fails, the dashed rollback edge returns the store to the snapshot, so confirm that restore has been tested before go-live.

Staging, test gates and rollback points around the production cutover.

What makes a 2.4.x upgrade longer or costlier

This table compares the factors that move the effort of an upgrade from 2.4.6, 2.4.5 or 2.4.4 onto a supported target. Read each row as a question to answer in your own environment before you ask for a quote. The main takeaway is that extensions, custom code and integrations usually set the schedule more than the core upgrade itself.

Effort driverWhy it changes effortWhat to ask for in a quote
Number of extensionsEach extension must support the target PHP version and Magento release, and some need replacing or rewriting when the vendor has stopped updating them.A list of every extension with its vendor, installed version, and confirmed support for the chosen target release
Custom modules and themesCustom code written against older core APIs or a Luma-based theme must be tested and often refactored before the upgrade runs cleanly.A count of custom modules and themes, the scope of code review, and the testing method for each
Third-party integrationsERP, payment, shipping and search connectors each carry their own version and credential dependencies, and each needs an end-to-end test.A list of integrations with endpoints, owners, and the test cases that will prove each one still works
Coding practicesDirect database queries, core overrides and deprecated calls take longer to find and fix than code that follows documented extension points.A static analysis pass and a stated plan for how overrides and deprecated calls will be handled
Data volume and index sizeLarger catalogs and order histories lengthen database migration, reindexing and the rehearsal runs needed before cutover.Database size, product and order counts, and a timed rehearsal on a production-sized copy
Number of environmentsEach environment such as development, staging, performance and production needs its own rebuild, configuration check and test pass.The list of environments, how they are kept in step, and who signs off each stage
Search engine and cache changesMoving from Elasticsearch to OpenSearch 3 or from Redis to Valkey can add reindexing and session tests to the plan.Whether search and cache changes are in scope, and the reindex and session test steps included
Patch level and support statusStores several patch releases behind, or on an unsupported line, may need more intermediate steps and a wider regression scope.The current installed version and patch level, and the upgrade path the quote assumes

Questions buyers ask before upgrading a Magento Open Source store

What drives the cost of upgrading a Magento Open Source store?

The cost depends mostly on how much custom code, how many extensions and how many third-party integrations the store runs, because Adobe's upgrade guide names these as the main drivers of upgrade effort. You pay for discovery and compatibility checks, extension replacements or vendor upgrades, custom module and theme changes, PHP and database work, staged test runs, and the cutover itself. Most of this is one-time. Recurring cost comes from patch cycles and ongoing support, which Adobe recommends applying every patch cycle to stay secure and PCI compliant. Ask any quote to split the work into those components, name who pays for each (your team, your extension vendors, or a partner), and state which test environments are included.

How long does a Magento Open Source upgrade take?

Duration is set by the drivers, not by a fixed number: the count of custom modules and themes, the number of extensions that must be replaced or upgraded, the number of integrations with ERP, payment and shipping systems, and how much custom code relies on older coding practices. Two further factors are the distance between your current release and the target, since PHP and database jumps add test cycles, and how many staged test runs your team can review. Ask for a schedule that shows discovery, extension decisions, staging runs, regression testing of checkout and integrations, and the cutover window, so each driver has a visible effect on the timeline.

What does the upgrade need from our internal team?

The work needs named people from four areas: a product owner who can decide which features and extensions stay, an engineer who knows the custom modules and themes, an operations owner for servers, PHP-FPM, search and cache services, and someone from finance or the business who signs off on checkout, tax and order flows during testing. Your team also has to provide access to staging, a recent copy of production data for rehearsals, and a list of integrations with their owners. Confirm these commitments in the written scope, because slow sign-off on test results is one of the most common causes of delay.

Can our team upgrade Magento Open Source without a partner?

Yes, a capable internal team can do it, provided it has the skills to work through the upgrade guide, run the Upgrade Compatibility Tool where it applies, and test custom code thoroughly. The decision usually turns on three points: whether the team has upgraded a Magento store before, how much custom code and how many integrations will need rework, and whether it has the capacity to run staged test cycles while keeping the live store healthy. A partner can take on scoped parts of the work, such as discovery, extension replacement, or rehearsals, while your team keeps ownership. Compare both options against the same written scope.

Should we upgrade to 2.4.8 or 2.4.9?

Choose 2.4.9 if your extensions, theme and hosting can support its requirements, because it has the longer runway: Adobe's lifecycle policy gives 2.4.9 standard support until May 31, 2029, compared with May 31, 2028 for 2.4.8. The 2.4.9 system requirements list PHP 8.5, MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8, OpenSearch 3, Redis or Valkey 9, RabbitMQ 4.3, Composer 2.10 and nginx 1.30, and Adobe supports only the listed combinations. The 2.4.8 requirements allow PHP 8.4 or 8.3 and Varnish 8, so 2.4.8 can be the practical step when an extension has not yet been certified for PHP 8.5. Check each extension vendor's stated support before choosing.

What does running an unsupported Magento store mean for PCI DSS?

PCI DSS does not name Magento versions, so the question is whether your store's software is still maintained and patched within your cardholder data environment. Once a release line leaves standard support, Adobe no longer provides regular fixes for it, so any vulnerability found later stays open unless you patch it yourself. PCI DSS requires you to keep system components protected from known vulnerabilities, which an unsupported platform makes harder to show. The PCI SSC does not enforce compliance; the payment brands and your acquirer decide what to require and how to validate it. Ask your QSA or acquirer how they will assess the platform, and document your patch decisions.

Will a Magento upgrade keep our payment setup compliant?

An upgrade does not make a store compliant on its own, and your validation still follows your own scope and the assessment type your acquirer requires. What an upgrade does is replace software that no longer receives fixes and lets you retest the cardholder data path, including payment connectors, admin access and any Content Security Policy rules you have set. PCI DSS v4.0.1 is the only active version, and the SSC has said a new version is being considered, so track the current requirements with your QSA. Keep a dated record of the upgrade, the test results and any compensating or customized approach decisions your assessor agrees to.

How DeployOpen works on this

DeployOpen plans, implements, tests, documents and supports self-hosted Magento Open Source stores inside your own infrastructure. For a move off 2.4.6, 2.4.5 or 2.4.4, the work starts with a written scope that fixes the target release, the PHP and database jumps, the extension decisions and the staged test runs before any production change.

How we scope

  • Inventory of your Magento version, custom modules, themes, extensions and third-party integrations before any quote is issued
  • Written decision on the target release, such as 2.4.8 or 2.4.9, with the PHP, database and search engine changes it requires
  • Agreed deliverables, test environments, cutover window and acceptance criteria recorded in writing before work starts

How we build

  • Upgrade in a staging copy of your store, with compatibility fixes for custom code and replacement plans for unsupported extensions
  • Staged test runs covering checkout, payments, ERP and shipping integrations, catalog search and admin workflows
  • Repeatable deployment steps and rollback procedure documented and rehearsed against a production-sized copy of the database

How we hand over

  • Runbook covering the cutover sequence, verification checks, rollback triggers and post-launch monitoring for your team
  • Documentation of changed configuration, updated PHP and service versions, and the custom code that was modified
  • Evidence pack for your compliance and security teams, including test results and the patch baseline now in place

How we support

  • Engagements are fixed-scope, so any follow-on work is quoted separately from the written scope
  • Ongoing support, upgrades and continuous testing are available as a retainer, which can cover future patch cycles
  • Confirm with DeployOpen during scoping which vendor releases, security patches and retest windows the retainer includes

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.