User Tools

Site Tools


symfony:symfony_tutorial_notes:configuring_symfony

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
symfony:symfony_tutorial_notes:configuring_symfony [2015/09/16 23:33] – [Environment Configuration] mithatsymfony:symfony_tutorial_notes:configuring_symfony [2015/09/16 23:35] (current) mithat
Line 1: Line 1:
-====== Configuring Symfony ====== +====== Configuring Symfony (and Environments) ====== 
-The main configuration file lives in the app/config/ as a YAML, XML, (and/?) or PHP file.+The main configuration file lives in the app/config/ as a YAML, XML, (and/?) or PHP file. Only YAML is considered here. 
 <file yaml app/config/config.yml> <file yaml app/config/config.yml>
 imports: imports:
Line 39: Line 40:
 </code> </code>
  
-===== New Environments =====+==== Additional Environments ====
  
 To create a new environment, copy ''web/app.php'' (or ''web/app_dev.php''?) to a new file and in that file associate the AppKernel with a new environment name in the ''AppKernel'' ctor; To create a new environment, copy ''web/app.php'' (or ''web/app_dev.php''?) to a new file and in that file associate the AppKernel with a new environment name in the ''AppKernel'' ctor;
symfony/symfony_tutorial_notes/configuring_symfony.txt · Last modified: 2015/09/16 23:35 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki