---
title: "Why Is Something Working on Non-Production But Not Production?"
date: "2025-04-17T14:39:05+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92411-why-something-working-non-production-not-production"
id: "c9b95ca8-8195-48a2-9299-6106d690974a"
---

Issue
-----

Why is my website working on non-production, but not Production?

Resolution
----------

Sometimes a feature you've extensively tested on non-production (dev, test, qa) works, but it doesn't work on production. The usual reason is that Enterprise and Site Factory customers have [highly available infrastructure](/node/57255). That means either two dedicated instances, or multiple web instances plus a database instance, and in some cases, a separate file system instance. Code is identical (or should be! If not, [file a Support ticket](/service-offerings/contacting-acquia-support "Contacting Acquia Support") with us) on each web instance or dedicated instance, but they share resources, such as the file system (and in the case of web instances, the database instance), which is in one place only. That said, the settings could be different between production and non-production.

Things to check on each environment:

*   Is the [PHP version](/node/56299) the same?
*   Is the [PHP memory limit](/acquia-cloud-platform/help/94301-how-change-php-memory-limit-composer-commands "How to change the PHP memory limit for Composer commands") the same?
*   Is the [temporary file location set correctly](/node/56354)? Also, check out [our documentation on fixing broken file uploads](/node/56353), and check to see if any modules, especially a custom module you may have written, override the temporary file location setting.
*   Is [Memcache](/node/56421) setup on one environment but not the other?
*   Is JavaScript and/or CSS aggregation turned on in one environment but not the other? Generally speaking, we recommend having it turned on, but in rare cases, it has been known to cause issues (usually because of the order in which they were aggregated).
*   Are the operating systems on each environment the same? Some underlying libraries (such as for Curl) could be affected by the differences in versions. [Visit our instructions on changing operating systems](/node/57566) for details on which versions we provide.
*   Are the platforms of the environments the same? In some cases, non-production environments could be on Acquia Cloud Next (our current platform) and your production environment could be on Acquia Cloud Classic (our legacy platform). Some features are available on platform and not the other. An example of this is [downloadable scheduled tasks logs are available on Cloud Next but not on Classic](/node/56399). See [our overall platform overview](/node/55794) for the differences between the two platforms.

In the above cases, [examining the logs](/node/56379) could be helpful in determining the issue. [XHProf](/node/92706) and [New Relic](/node/56377) could be helpful too.

*   Is the content and configuration of the Drupal sites on each environment (more or less) the same?

Differences between non-production and non-production environments:

*   Amount of memory and disk space. The memory most affects the amount of PHP processes you can have. Most non-production environments are single instances (with a naming convention of staging-12345). That means they have both the web serving functions, the database system, and the file system all on one instance. This is either spread out (in the case of a setup with web instances), or there's more resources allocated to them (in the case of dedicated instances, and there's failover in that case as well).
*   [Traffic](/node/93896) and usage patterns: Production environments almost always have more traffic hitting them, or have more editors creating content, so the amount of caching by Varnish will be different. That could be something we can help determine if you [file a Support ticket](/service-offerings/contacting-acquia-support "Contacting Acquia Support") with us.

**It could also be an infrastructure problem.** Often times we've already alerted you about it via a ticket, but if not, [file a Support ticket](/service-offerings/contacting-acquia-support "Contacting Acquia Support") with us and we'll help you get to the bottom of it.