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.
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.
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.
- config.php has the sections modules, scopes, system, themes and i18n. In modules, "If module is enabled, value is 1. Otherwise, the value is 0." Adobe, config.php reference (updated 8 Oct 2026)
- env.php holds, among others, backend, cache, cache_types, cron, crypt (the encryption key), db, downloadable_domains, lock, MAGE_MODE, queue, session, system and x-frame-options. The system node locks the values in it and disables the field in the Admin. Adobe, env.php reference (updated 8 Oct 2026)
- The shared configuration is stored in app/etc/config.php, which should be in source control. The system-specific configuration is stored in app/etc/env.php, which should not be. env.php holds settings unique to a particular system, "for example, hostnames and port numbers". Sensitive configuration is also stored in env.php. Adobe, Pipeline deployment: technical details (updated 8 Oct 2026)
- "Environment variables, if they exist, override all other values." "Values in env.php override values in config.php." Database values come after them. "Any configuration settings in config.php or env.php are locked in the Admin." Adobe, Pipeline deployment: technical details (updated 8 Oct 2026)
- bin/magento app:config:dump writes shared settings to config.php and sensitive and system-specific settings to env.php. Sensitive values are set with bin/magento config:sensitive:set. Adobe, Export configuration settings (updated 8 Oct 2026)
- Every path in the reference is sensitive. The System-specific column marks the paths that are also system-specific, such as the base URLs under web/unsecure and web/secure, cookie settings, search engine host names and ports, SMTP host and port, the Varnish backend host and port, and payment debug, sandbox and proxy settings. Adobe, Sensitive and system-specific configuration paths reference (updated 8 Oct 2026)
- Sensitive values hold restricted or confidential information, such as API keys, user names and passwords. System-specific values are unique to the system where the application is deployed, such as URLs and host names. After app:config:dump the command says "The configuration file doesn't contain sensitive data for security reasons." Adobe developer documentation, Sensitive and environment-specific settings (no date shown)
- config:set --lock-env writes a value to env.php and --lock-config writes it to config.php; both disable the field in the Admin. config:show prints "path - value" lines, with encrypted values shown as asterisks. Adobe, Set configuration values (updated 8 Oct 2026)
- The modes are default, developer, production and maintenance. "The production mode is best for deploying the Commerce application on a production system." Default mode is not optimised for production. On cloud infrastructure only production and maintenance are supported, and developer mode "is not supported in the Adobe Commerce Cloud environment". Adobe, Application modes (updated 8 Oct 2026)
- On cloud infrastructure, config.php "helps to keep all configurations consistent across all environments". The override order is Cloud Console environment variables, .magento.app.yaml, env.php, config.php, the database, then config.xml. Adobe, Store configuration management on cloud infrastructure (updated 8 Oct 2026)
- .magento.env.yaml has the sections stage (global, build, deploy, post-deploy) and log. "To configure unique actions in each environment, you must modify this file in each environment." ece-tools cloud:config:validate checks the file. Adobe, Configure environment variables for deployment (.magento.env.yaml) (updated 8 Oct 2026)
- X_FRAME_CONFIGURATION: "The ALLOW-FROM <uri> option has been deprecated because Adobe Commerce-supported browsers no longer support it." Adobe, Global variables (updated 8 Oct 2026)
- "The LUA_KEY variable is deprecated." Adobe says to set CRYPT_KEY through the Cloud Console instead of the .magento.env.yaml file, to keep the key out of the repository. LOCK_PROVIDER defaults to file on Production and Staging and to db on Pro Integration and Starter. Adobe, Deploy variables (updated 8 Oct 2026)
- The post-deploy variables are TTFB_TESTED_PAGES, WARM_UP_CONCURRENCY and WARM_UP_PAGES. Adobe, Post-deploy variables (updated 8 Oct 2026)
- The variables skip_di_clearing and skip_di_compilation "were removed in v2.2". Adobe, Build variables (updated 25 Aug 2026)
- ece-tools 2002.1.0 removed or deprecated SCD_EXCLUDE_THEMES (use SCD_MATRIX), STATIC_CONTENT_THREADS (use SCD_THREADS), DO_DEPLOY_STATIC_CONTENT (use SKIP_SCD) and STATIC_CONTENT_SYMLINK (no replacement). Adobe, Backward-incompatible changes, Commerce on cloud infrastructure (updated 8 Oct 2026)
- A service in .magento/services.yaml is written as an id with "type: <name>:<version>" and, for persistent storage, a disk size in MB. "You cannot downgrade an installed service directly." To install or update services in Pro Staging and Production, submit an Adobe Commerce Support ticket. Validate an upgrade in Staging or Integration before Production. Adobe, Services configuration (.magento/services.yaml) (updated 1 Sep 2026)
- In .magento.app.yaml, type sets the base container image ("type: php:<version>"). For Pro Staging and Production, changes to mounts and disk need an Adobe Commerce Support ticket. Adobe, Properties for application configuration (.magento.app.yaml) (updated 8 Oct 2026)
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.