Free tool · Adobe Commerce and Magento Open Source

Staging and production configuration diff

Configuration that differs between environments breaks releases. Paste what you export from staging and production and see the modules, settings, locks, modes, services and deploy variables that differ, each marked as expected per environment or suspicious.

For Adobe Commerce on cloud infrastructure, Adobe Commerce on premises and Magento Open Source. It runs in your browser: nothing you paste is sent to our server or stored. Passwords, keys and credentials are hidden as they are read. It was built from Adobe's documentation and a synthetic sample, and was not run against a real environment.

The sample is a made-up store on cloud infrastructure. Its hosts, keys and passwords are invented. It was not taken from or run against a real environment.

Two environments

The second one is treated as production. Paste only the files you have; a file given for one side only is checked alone and not compared. Everything stays in this tab.

config.php

app/etc/config.php. The modules list and anything bin/magento app:config:dump wrote to it. Up to 1,000,000 bytes each.

env.php

app/etc/env.php. Passwords, keys and credentials are dropped when it is read and shown as (hidden). Up to 1,000,000 bytes each.

database settings

A core_config_data export (CSV, tab-separated or mysql table, with a header row naming path and value), or the output of bin/magento config:show. Up to 8,000,000 bytes each.

.magento.app.yaml

Cloud infrastructure only: .magento.app.yaml. Up to 1,000,000 bytes each.

.magento.env.yaml

Cloud infrastructure only: .magento.env.yaml. Up to 1,000,000 bytes each.

.magento/services.yaml

Cloud infrastructure only: .magento/services.yaml. Up to 1,000,000 bytes each.

What it does and does not do

A comparison of your exports, not a test of your store

What it reads

For each of two environments, the files you export yourself: app/etc/config.php, app/etc/env.php, a core_config_data export or bin/magento config:show output, and on cloud infrastructure .magento.app.yaml, .magento.env.yaml and .magento/services.yaml. Up to 1,000,000 bytes per file and 8,000,000 bytes for a database export. It reads them in your browser.

What you get

A difference table by area: deployment mode, modules, store configuration per scope, cache and session, the rest of env.php, cloud services, the cloud application file and cloud deploy variables. Each row says whether Adobe lists the difference as expected per environment (such as base URLs) or not, with the Adobe page it rests on. A module table, and CSV and Markdown downloads.

What it does not do

It does not connect to a store, a database or a cloud project. It does not see environment variables, which override everything else. It does not say whether a value is right, only whether two environments differ, and it never says a release will work.

A clean result. No difference here does not mean the release will work. It means the files you gave show no difference this page looks for. Environment variables, the database rows you did not export and the code itself can still differ.

Three levels. Error: Adobe's documentation says this setting is not supported where it is used. Warning: A difference Adobe does not list as system-specific, a setting locked in one environment only, or a variable Adobe lists as deprecated. Look at it before the release. Note: A difference Adobe lists as system-specific, so expected per environment, or something this tool could not settle.

What the PHP reader cannot read. It reads the array literal that config.php and env.php return, and runs nothing. It cannot read a heredoc or nowdoc string, code that builds the array before return, or nesting more than 64 levels deep: it stops there and names the line. A constant, a function call such as getenv() or a variable is shown as code, not as its value. A double-quoted string with a $variable in it is shown as code too.

What the YAML reader cannot read. Anchors, aliases, tags and values over several lines. Hook scripts in .magento.app.yaml are compared by a fingerprint of their text, not line by line.

Free use. Free, with no account, for files up to 1,000,000 bytes each and a database export up to 8,000,000 bytes. These are our own limits. Questions: contact us

Sources

The rules it follows, and where they are stated

Every statement below was read on the page linked beside it and checked 2 Dec 2026.

Not confirmed by Adobe's documentation

Adobe's pages do not settle these points. This is how the page behaves there.

  • This tool was not run against a real Adobe Commerce or Magento Open Source store, staging environment or cloud project. The sample is synthetic. The findings follow the pages listed above and nothing else.
  • Adobe does not publish a list of settings that must be the same in staging and production. A difference this page calls suspicious can be on purpose. Only the system-specific paths in Adobe's reference, and host names and port numbers in env.php, are treated as expected.
  • Adobe's sensitive and system-specific reference covers core and bundled modules only. Paths that third-party extensions add are not on it, so their differences are shown as suspicious.
  • Environment variables (on premises, or in the Cloud Console) override everything else, and this tool cannot see them. Values set that way are not part of this comparison.
  • Adobe does not document the layout of a core_config_data export. This tool reads the columns scope, scope_id, path and value by name, as the table holds them.
  • Adobe does not say how config:show output marks the scope. Lines from config:show are read as the default scope.
  • Adobe does not document how encrypted values look in the database. This tool hides any value that looks like Magento's encrypted form (digits, colon, digits, colon, text) as well as every value under a key that names a password, secret, token or key.
  • Adobe's .magento.env.yaml page says to change the file in each environment for unique actions, so a different deploy variable can be on purpose. Adobe's validation command (cloud:config:validate) is the real check for unknown or misplaced variables. This tool does not check which stage a variable belongs in.
  • Adobe does not say whether services or PHP versions should match between Staging and Production. It says to validate an upgrade in Staging or Integration before Production, so a different version can be an upgrade in progress.
  • Adobe's env.php page shows a queue topics example that is not valid PHP ([publisher="default-broker"]). The reader keeps such text as code and does not judge it.
  • Not read: PHP that is more than an array literal (a heredoc, code before return that builds the array), YAML anchors, aliases and tags, and values in .magento.app.yaml hooks, which are compared only as a fingerprint of their text.

Questions

Common questions

Which differences between staging and production are expected?

Adobe's sensitive and system-specific paths reference marks some paths as system-specific: the base URLs under web/unsecure and web/secure, cookie settings, search engine host names and ports, the SMTP host and port, the Varnish backend host and port, and payment debug, sandbox and proxy settings. Adobe also describes env.php as holding settings unique to each system, such as host names and port numbers. This page marks those differences as expected. Everything else that differs is marked suspicious, which means worth a look, not wrong.

What does locked in one environment and in the database in the other mean?

Adobe says any setting in config.php or env.php is locked in the Admin, and that values in env.php override config.php, which override the database. If a path is in config.php on staging but only in the database on production, someone can change it in the production Admin while staging cannot, and the two drift apart. The fix is to set it the same way in both, for example with app:config:dump or config:set with --lock-config or --lock-env.

Are my passwords and keys safe?

Nothing you paste leaves your browser: there is no upload, no server call and no storage. On top of that, when env.php and the other files are read, the values under crypt, the database, cache, session and queue credentials, and any key whose name holds password, secret, token or key, are dropped and replaced with (hidden). They never appear in the table or the downloads. It is still best to strip secrets before you paste.

Does it run my PHP files?

No. config.php and env.php are PHP files that return an array. This page reads the array literal as text: brackets, array(), keys, quoted strings, numbers, true, false and null. A function call or constant (such as getenv()) is shown as code and never run. A heredoc, a bracket it cannot match or nesting deeper than 64 levels stops the reader, and it says on which line.

Which .magento.env.yaml variables does it call deprecated?

Only those Adobe names: LUA_KEY (deploy variables page), SCD_EXCLUDE_THEMES, STATIC_CONTENT_THREADS, DO_DEPLOY_STATIC_CONTENT and STATIC_CONTENT_SYMLINK (removed or deprecated in ece-tools 2002.1.0), skip_di_clearing and skip_di_compilation (removed in 2.2), and the ALLOW-FROM value of X_FRAME_CONFIGURATION. A variable that is on none of Adobe's variable pages is a note. Adobe's own check is ece-tools cloud:config:validate.

Does a clean result mean the release will work?

No. It means the files you gave show no difference this page looks for. Environment variables, Cloud Console variables, database rows you did not export, code and data can still differ. Test the release on staging in production mode.

Surge Migrate is not affiliated with Adobe and is not an Adobe partner.