Skip to main content

Comments

1 comment

  • Platform.sh DevRel

    You can achieve that by making your php:newrelic.license environment variable an environment level rather than project level variable and making sure the variable is not inheritable so it doesn’t exist for children environments.

    You can make these modifications using the platform CLI:
    $ platform variable:update 'php:newrelic.license' --level environment --environment [your-prod-env] --inheritable false

    New Relic having no license key for environments other than the production one, it won’t be able to operate.

    0

Please sign in to leave a comment.