You are browsing the documentation for version 4.1 of OroCommerce, OroCRM and OroPlatform, which is no longer maintained. Read version 5.1 (the latest LTS version) of the Oro documentation to get up-to-date information.

See our Release Process documentation for more information on the currently supported and upcoming releases.

Environment Type-Based Application Configuration

Use different default configurations based on the environment where the application is deployed:

Deployment type (deployment_type) is one of the options in parameters.yml file, and it is asked during composer install.

1  # config/parameters.yml
3  parameters:
4      # ...
5      deployment_type: null

To start using deployment type, change value deployment_type: <type> in config/parameters.yml and create a config file in config/deployment/config_<type>.yml.

This configuration will have the highest priority.

For example:

1      # config/parameters.yml
3      parameters:
4          # ...
5          deployment_type: local
1      # config/deployment/config_local.yml
3      monolog:
4          handlers:
5              # your additional monolog configuration


For more details on how to configure the environment type based application in the Cloud environment, please see the related cloud documentation.