# config.php Einstellungen

**URL:** <https://forum.shopware.com/t/config-php-einstellungen/68676>\
**Category:** Allgemein\
**Created:** [29. Juli 2020 um 15:01 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676 "2020-07-29T15:01:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drachenhort](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Drachenhort](https://forum.shopware.com/u/Drachenhort)\
**Post date:** [29. Juli 2020 um 15:01 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/1 "2020-07-29T15:01:00Z")

</div>

Liebe Community,

ich traue irgendwie meiner config.php nicht, dass diese korrekt eingestellt ist. Aktuell sieht die so aus:

```
  array (
    'host' => 'xxxx',
    'port' => 'xxxxx',
    'username' => 'xxxxxx',
    'password' => 'xxxxx',
    'dbname' => 'xxxx',
  ),

'csrfProtection' => [
    'frontend' => false,
    'backend' => false
],

'front' => [
    'showException' => true,
    'throwExceptions' => true,
    'noErrorHandler' => false,
],

//Zeige Low-Level PHP-Fehler
'phpsettings' => [
    'display_errors' => 0,
],

/*
// Template-Cache
'template' => [
    'forceCompile' => true,
],

// Backend-Cache
'cache' => [
    'backend' => 'Black-Hole',
    'backendOptions' => [],
    'frontendOptions' => [
        'write_control' => false
    ],
],

// Model-Cache
'model' => [
    'cacheProvider' => 'Array' // supports Apc, Array, Wincache and Xcache
],

// Http-Cache
'httpCache' => [
    'enabled' => true, // true or false
    'debug' => true,
],*/
);

```

Könnte mir jemand sagen ob das so passt oder etwas angepasst werden müsste? Shop läuft auf 5.6.7

Liebe Grüsse und vielen Dank

Sijandi

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [29. Juli 2020 um 16:23 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/2 "2020-07-29T16:23:08Z")

</div>

Hallo,&nbsp;

Deine config.php sieht soweit gut aus mit der Ausnahme, dass Du die CSRF Protection abgeschaltet hast:

[https://developers.shopware.com/developers-guide/csrf-protection/](https://developers.shopware.com/developers-guide/csrf-protection/)

Häufig erfolgt die Abschaltung, weil es Probleme mit dem Template oder einem Plugin gibt (oder gab) - das müsstest Du im Einzelfall testen.

Auch solltest Du den Blackhole Eintrag entfernen sowie aktive Debug Einstellungen beim Cache.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Drachenhort](https://avatars.discourse-cdn.com/v4/letter/d/f04885/32.png) [@Drachenhort](https://forum.shopware.com/u/Drachenhort)\
**Post date:** [30. Juli 2020 um 17:55 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/3 "2020-07-30T17:55:33Z")

</div>

Hallo Scoopex,

vielen Dank für deine Antwort. Demfall ist es korrekt, dass Low Level PHP Fehler nicht angezeigt werden?

```
//Zeige Low-Level PHP-Fehler
'phpsettings' => [
    'display_errors' => 0,
],

```

`Liebe Grüsse`

`Dominik`

---

<div class="post-metadata">

**Author:** ![SCOOPEX](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/scoopex/32/18328_2.png) [@SCOOPEX](https://forum.shopware.com/u/SCOOPEX)\
**Post date:** [30. Juli 2020 um 17:57 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/4 "2020-07-30T17:57:25Z")

</div>

Hallo,

die Zeilen kannst Du auch rausnehmen - dienen meistens eher dem Troubleshooting.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Topsat24](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Topsat24](https://forum.shopware.com/u/Topsat24)\
**Post date:** [24. Dezember 2021 um 18:03 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/5 "2021-12-24T18:03:08Z")

</div>

Hallo  
wozu sind die username und password  
bei array?  
MfG

---

<div class="post-metadata">

**Author:** ![SmartStylez](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@SmartStylez](https://forum.shopware.com/u/SmartStylez)\
**Post date:** [24. Dezember 2021 um 19:56 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/6 "2021-12-24T19:56:43Z")

</div>

Das sind die Zugangsdaten der Datenbank.

---

<div class="post-metadata">

**Author:** ![Topsat24](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@Topsat24](https://forum.shopware.com/u/Topsat24)\
**Post date:** [24. Dezember 2021 um 20:56 UTC](https://forum.shopware.com/t/config-php-einstellungen/68676/7 "2021-12-24T20:56:39Z")

</div>

muss ich diese Kennwort wechseln wenn win32/forbix.a auf meine pc war?  
ich habe Festplatte formatiert und Windows neu installiert.  
alle Kennwörter gewechselt.  
auch backend, ionos, plesk, ftp auch initial passwort  
was muss ich noch wechseln?
