# config.php sw5.6

**URL:** <https://forum.shopware.com/t/config-php-sw5-6/69115>\
**Category:** Installation/Einstieg\
**Created:** [22. August 2020 um 19:35 UTC](https://forum.shopware.com/t/config-php-sw5-6/69115 "2020-08-22T19:35:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![madnazz](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@madnazz](https://forum.shopware.com/u/madnazz)\
**Post date:** [22. August 2020 um 19:35 UTC](https://forum.shopware.com/t/config-php-sw5-6/69115/1 "2020-08-22T19:35:34Z")

</div>

Bei Shopware5.6 Composer installation wurde die config.php geändert, was hat es damit aufsich?

Kann man eine custom config nachladen, z.b einer PHP Variable?

---

<div class="post-metadata">

**Author:** ![shyim](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/shyim/32/7681_2.png) [@shyim](https://forum.shopware.com/u/shyim)\
**Post date:** [23. August 2020 um 09:16 UTC](https://forum.shopware.com/t/config-php-sw5-6/69115/2 "2020-08-23T09:16:28Z")

</div>

Schau mal in die config.php vom composer projekt

[https://github.com/shopware/composer-project/blob/5.6/app/config/config.php](https://github.com/shopware/composer-project/blob/5.6/app/config/config.php)

Du kannst vieles via ENV steuern. Das ist auch nur ein Template pass es an wie du es brauchst

---

<div class="post-metadata">

**Author:** ![madnazz](https://avatars.discourse-cdn.com/v4/letter/m/ec9cab/32.png) [@madnazz](https://forum.shopware.com/u/madnazz)\
**Post date:** [23. August 2020 um 12:13 UTC](https://forum.shopware.com/t/config-php-sw5-6/69115/3 "2020-08-23T12:13:27Z")

</div>

`So lade ich eine eigene config: CUSTOM_CONFIG_FILE: /var/www/custom/project/config.php`

Als beispiel möchte ich :

```
 'template' =\> ['templateDir' =\> $projectDir . 'themes', 'forceCompile' =\> true,],

```

nachladen ohne das ich die config.php ändern muss.

Wie muss ich meine config anpassen?
