Configurations play a crucial role in the workings of Zend Framework 2, therefore it is essential to know how it works.
Go through the following sections to use configurations to your benefit:
When beginning to code in Zend Framework 2 there is some misunderstanding as to what the different configuration files do. By default we have multiple configuration files, and it might not always be simple to understand where things need to go. That is why we like to apply a simple rule:
Is the configuration necessary throughout all our modules? If yes, place your configuration in the
config/application.config.php file. If not, place your configuration in the