Skip to content

Book a call with Gigi

Magento 11 min read

How to Upgrade Magento Version: A Step-by-Step Guide (Updated for 2.4.9)

How to Upgrade Magento Version

Summary

Magento Open Source and Adobe Commerce 2.4.9 is the newest release line. Adobe released it on 12 May 2026 and supports it until 31 May 2029. It needs PHP 8.5, replaces several old Zend and Laminas components and swaps the TinyMCE editor for HugeRTE, so most stores need extension and theme work, not just a Composer command.

The safe route is the same for every version: back up, copy the store to staging, update PHP and services, run the Composer upgrade, fix extensions, test, then repeat on live. This guide walks through each step with commands and time estimates.

Introduction

Regular Magento updates keep your store secure, fast and compatible with the payment, shipping and search services it depends on. Each release closes security holes, fixes hundreds of bugs and keeps your stack on supported versions of PHP, MySQL and OpenSearch.

That matters more in 2026 than it did a year ago. The 2.4.6 line lost regular support on 11 August 2026, and 2.4.9 raised the minimum PHP version to 8.5. If your store is a version or two behind, the gap is now large enough that an upgrade needs a plan. This guide is that plan, updated for Magento 2.4.9.

Table of Contents

What’s new in Magento 2.4.9?

Magento 2.4.9 is a platform release. It changes the foundations more than the storefront, which is why extensions and custom code need the most attention. According to Adobe’s release notes, the main changes are:

  • PHP 8.5 support. PHP 8.5 is the supported version. PHP 8.4 is allowed only while you upgrade, and PHP 8.2 and 8.3 are no longer supported.
  • Symfony 7.4 LTS. Core Symfony components move to the long-term support release.
  • Laminas MVC replaced. Magento now uses its own native MVC layer instead of Laminas MVC.
  • Zend_Cache removed. Caching now runs on the Symfony Cache component.
  • New page editor. TinyMCE is replaced by HugeRTE, an open source fork, in the admin content editor.
  • Security updates. The JWT framework is on its latest major version, a native OAuth library replaces a third-party one, and CAPTCHA checks now extend to the REST and GraphQL APIs.
  • Newer services. Support for MariaDB 11.8 and 12.x, OpenSearch 3 and Valkey 9.
  • Hundreds of fixes. Adobe lists 666 issues fixed in core code for Adobe Commerce 2.4.9.

For store owners, the practical takeaway is simple: any extension that relies on Laminas MVC, Zend_Cache or TinyMCE must be updated before you go live on 2.4.9.

What are the Magento 2.4.9 system requirements?

Check your hosting first. Most failed upgrades we see start with a server that cannot run the new version. Here is how 2.4.9 compares with the latest 2.4.8 patch, based on Adobe’s published system requirements:

ComponentMagento 2.4.9Magento 2.4.8 (latest patch)
PHP8.5 (8.4 for upgrading only)8.4 or 8.3
Composer2.9 or later2.9 or later
MySQL8.48.4
MariaDB11.8 or 12.x11.4 or 11.8
SearchOpenSearch 3 (2.x still works)OpenSearch 3 or Elasticsearch 8
CacheValkey 9Valkey 8.1
Message queueRabbitMQ 4.x or ActiveMQ Artemis 2RabbitMQ 4.x or ActiveMQ Artemis 2
Web server and cachenginx 1.30, Varnish 8nginx 1.30, Varnish 8

If your host cannot offer PHP 8.5 yet, stay on a supported 2.4.8 patch until it can. Running 2.4.9 on PHP 8.4 is only meant for the upgrade itself.

Which Magento versions are still supported?

Adobe supports each 2.4.x release line for about three years. These dates come from Adobe’s release schedule:

Timeline of Magento 2.4.6 to 2.4.9 regular support windows, showing 2.4.6 support ended in August 2026 and 2.4.9 supported until May 2029
Magento 2.4.x regular support windows as of September 2026
Release lineReleasedRegular support ends
2.4.912 May 202631 May 2029
2.4.88 April 202531 May 2028
2.4.79 April 202431 May 2027
2.4.614 March 2023Ended 11 August 2026
2.4.5 and older2022 or earlierEnded

If you are on 2.4.6 or older, your store no longer gets regular security patches. Read our guide to the August 2026 Magento support cliff to decide between upgrading, moving to Adobe Commerce Cloud or replatforming.

Why upgrade your Magento store?

1. Improved Security

Every release and security patch closes known vulnerabilities. Unsupported versions stop getting these fixes, which leaves card data, customer accounts and admin access exposed, and can put your PCI compliance at risk.

2. Better Performance

Newer releases ship faster code paths, updated caching and support for current PHP versions, which are noticeably quicker than older ones. Faster pages help conversion and Core Web Vitals.

3. New Features

Updates add features such as new payment methods, GraphQL improvements and admin tools. In 2.4.9 that includes Braintree additions like Google Pay vaulting and more local payment methods.

4. Bug Fixes

Each release fixes hundreds of issues in checkout, catalog, admin and APIs. Many of the bugs your team works around today may already be fixed in the latest version.

5. Support

Extension vendors, hosting providers and payment gateways build for supported versions. Staying current keeps you inside their support windows and makes help easier to get.

Which upgrade path fits your version?

You are onWhat to expectTypical effort
2.4.8Move PHP from 8.3 or 8.4 to 8.5, update services, then run the Composer upgrade. Most work is extension testing.Days to 2 weeks
2.4.7Same as above, plus a larger jump in services such as MariaDB and search. Check every extension.1 to 3 weeks
2.4.6 or olderBig PHP and library jump. Several extensions and custom modules will need rewrites. Plan it as a project.3 to 6+ weeks
Magento 1This is a migration, not an upgrade. Data, theme and extensions all move to Magento 2.A full project

You can usually go straight from any 2.4.x release to 2.4.9 with Composer. The hard part is not the jump itself but the PHP change and the extensions that depend on removed libraries.

How do you upgrade Magento step by step?

Always do this on a staging copy first, then repeat on live once everything passes. The times below are for a typical store with a handful of extensions.

Magento 2.4.9 upgrade roadmap in six steps: back up and stage, update PHP and services, run Composer upgrade, fix extensions and theme, test everything, go live and monitor
The six steps of a Magento 2.4.9 upgrade

Step 1: Prepare for the upgrade (Time: 30 to 60 minutes)

  • Back up everything. Take a full database dump and a copy of your code and media, or a server snapshot from your host.
  • Create a staging copy. Clone the live store to a separate server or subdomain that matches production.
  • List your extensions. Record every module and theme, and check each vendor for a 2.4.9 compatible version.
  • Check the release notes. Read the notes for every version between yours and 2.4.9.
# Check your current version
bin/magento --version

# Back up the database
mysqldump -u DB_USER -p DB_NAME > backup-before-2.4.9.sql

# Back up the code (excluding generated folders)
tar -czf code-backup.tar.gz --exclude=var --exclude=generated .

Enable maintenance mode

Putting the store in maintenance mode stops customers from placing orders while files and the database change. Also pause cron jobs so indexers and queue consumers do not run mid-upgrade.

bin/magento maintenance:enable
bin/magento cron:remove

Step 2: Update PHP and services (Time: 1 to 2 hours)

Upgrade the server stack to the versions in the requirements table: PHP 8.5 with the required extensions, MySQL 8.4 or MariaDB 11.8 or 12.x, OpenSearch 3 and Valkey 9. Update Composer to 2.9 or later. On managed hosting, ask your host to switch versions on staging first.

php -v
composer self-update
composer --version

Step 3: Run the Composer upgrade (Time: 1 to 2 hours)

Use the Composer root update plugin so Magento updates its own dependencies correctly. For Adobe Commerce, replace product-community-edition with product-enterprise-edition.

composer require magento/composer-root-update-plugin ~2.0 --no-update
composer update

composer require-commerce magento/product-community-edition 2.4.9 --no-update
composer update

# Clear generated files
rm -rf var/cache/* var/page_cache/* generated/code/*

# Apply the upgrade
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy -f
bin/magento indexer:reindex
bin/magento cache:flush

Step 4: Update extensions and themes (Time: 1 to 3 hours per extension that breaks)

Install the 2.4.9 compatible version of each extension. Pay extra attention to anything that touches the admin editor, caching or custom controllers, because those areas changed most in 2.4.9. Custom themes should be checked for template overrides that no longer match core files.

Step 5: Test and verify (Time: 2 to 4 hours)

  • Frontend: home page, category pages, search, product pages, cart and a full checkout with each payment method.
  • Backend: admin login, orders, invoices, refunds, customer accounts and the content editor.
  • Extensions and integrations: ERP, shipping, tax, email and marketing connections, plus every extension you rely on.
  • Performance: page load times, server response time and database queries compared with the old version.

Step 6: Post-upgrade tasks (Time: 30 minutes)

bin/magento cron:install
bin/magento maintenance:disable
bin/magento --version

Once live, watch error logs, checkout conversion and Google Search Console for a week. Keep your backup until you are sure everything is stable.

Best practices for a Magento upgrade

  • Never upgrade live first. Staging catches most problems.
  • Upgrade during your quietest trading hours and tell your team in advance.
  • Keep extensions to a minimum. Every extra module is another thing that can break.
  • Use version control so you can roll back code quickly.
  • Apply security patches as soon as they come out, not only full releases.
  • Write down every step so the live upgrade repeats staging exactly.

Troubleshooting common upgrade issues

ProblemLikely causeFix
Composer dependency conflictsAn extension pins an old library versionUpdate or temporarily remove the extension, then run composer update again
Blank page or 500 error after upgradeGenerated code or cache from the old versionClear var/cache, generated/code and pub/static, then recompile
Admin content editor not loadingExtension built for TinyMCEUpdate the extension to a 2.4.9 version that supports HugeRTE
Class not found errorsModule relies on removed Zend or Laminas classesUpdate the module or refactor the custom code
Search returns no resultsOpenSearch not reindexed or wrong versionCheck the search engine settings and run bin/magento indexer:reindex
Styles look brokenStatic content not deployedRun setup:static-content:deploy -f and flush the cache

Magento 2.4 release history

Magento 2.4 has been the main release line since 2020. Each version brought its own set of changes:

VersionYearWhat it brought
2.4.92026PHP 8.5, Symfony 7.4 LTS, Laminas MVC and Zend_Cache replaced, HugeRTE editor, OpenSearch 3 and Valkey 9 support
2.4.82025PHP 8.4 support, Valkey support and updated search and database versions
2.4.72024PHP 8.3 support, security and performance improvements
2.4.62023PHP 8.2 support, Composer 2.x updates and a large batch of fixes
2.4.22021Composer 2 support, Elasticsearch 7.9 support, security hardening, media gallery and import and export improvements

If your store is still on an early 2.4 release such as 2.4.2, the steps above still apply, but expect a bigger jump in PHP, services and extensions.

Still on Magento 1?

Magento 1 reached end of life in June 2020 and cannot be upgraded in place. Moving to Magento 2 is a migration of data, theme and extensions. See our guide on how to migrate from Magento 1 to Magento 2 for the full process.

How Virtina can help

Our Magento team upgrades stores from any 2.4.x version to 2.4.9, including the PHP and server changes, extension updates and custom module fixes that 2.4.9 needs. We test everything on staging before we touch your live store. Learn more about our Magento development services.

Get a free upgrade estimate

People also ask

Can I skip versions when upgrading Magento?

Yes. Composer lets you go from any 2.4.x release straight to 2.4.9. You still need to meet the new system requirements and update every extension.

Will upgrading Magento affect my SEO?

Not if URLs, content and structured data stay the same. Test on staging and check Search Console after launch for new errors.

Do I need a developer to upgrade Magento?

For a store with extensions or custom code, yes. Small stock stores can follow this guide, but dependency conflicts and extension fixes need developer skills.

Conclusion

Magento 2.4.9 gives you three more years of support, PHP 8.5 and a cleaner, more secure platform. The upgrade takes planning because of the PHP change and the removed libraries, but the steps are the same every time: back up, stage, update the stack, run Composer, fix extensions and test.

If your store is on 2.4.6 or older, start now. Every month on an unsupported version adds risk.

Frequently Asked Questions

What is the latest version of Magento?

The latest release line is Magento Open Source and Adobe Commerce 2.4.9, released on 12 May 2026. Adobe supports it until 31 May 2029.

How long does a Magento upgrade take?

A simple upgrade from 2.4.8 can take a few days including testing. Upgrades from 2.4.6 or older, or stores with many extensions, often take three to six weeks.

What PHP version does Magento 2.4.9 need?

Magento 2.4.9 supports PHP 8.5. PHP 8.4 is allowed only while upgrading, and PHP 8.2 and 8.3 are no longer supported.

How do I check my Magento version?

Run bin/magento –version from your Magento root folder, or look at the bottom of any admin page, where the version is shown.

Is Magento 2.4.6 still supported?

No. Regular support for the 2.4.6 line ended on 11 August 2026, so it no longer receives regular security patches.

Virtina is a WooCommerce expert agency that also builds and upgrades Magento, Shopify and BigCommerce stores, so this guide focuses on what actually breaks during real upgrades.

Share this article