# PHP 7.4 kein Zugriff auf Backend

**URL:** <https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718>\
**Category:** Allgemein\
**Created:** [5. Oktober 2021 um 18:25 UTC](https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718 "2021-10-05T18:25:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![QuasiPasi](https://avatars.discourse-cdn.com/v4/letter/q/35a633/32.png) [@QuasiPasi](https://forum.shopware.com/u/QuasiPasi)\
**Post date:** [5. Oktober 2021 um 18:25 UTC](https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718/1 "2021-10-05T18:25:34Z")

</div>

Hallo,

Wir wollten gerade auf PHP 7.4 wechseln, leider kommen wir nun nicht mehr ins Backend  
Dies wird uns angezeigt:

```auto
Zend_Session::start() - /home/....../....../www/engine/Library/Zend/Session.php(Line:468): Error #2 session_start(): Failed to read session data: files (path: tcp://xxx.x.x.x:xxxx) in engine/Library/Zend/Session.php on line 481
Stack trace:
#0 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(374): Zend_Session::start()
#1 engine/Library/Enlight/Event/Handler/Plugin.php(145): Shopware_Plugins_Backend_Auth_Bootstrap->onInitResourceBackendSession()
#2 engine/Library/Enlight/Event/EventManager.php(251): Enlight_Event_Handler_Plugin->execute()
#3 engine/Shopware/Components/DependencyInjection/Container.php(204): Enlight_Event_EventManager->notifyUntil()
#4 engine/Shopware/Components/DependencyInjection/Container.php(160): Shopware\Components\DependencyInjection\Container->doLoad()
#5 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(391): Shopware\Components\DependencyInjection\Container->load()
#6 engine/Library/Enlight/Event/Handler/Plugin.php(145): Shopware_Plugins_Backend_Auth_Bootstrap->onInitResourceAuth()
#7 engine/Library/Enlight/Event/EventManager.php(251): Enlight_Event_Handler_Plugin->execute()
#8 engine/Shopware/Components/DependencyInjection/Container.php(204): Enlight_Event_EventManager->notifyUntil()
#9 engine/Shopware/Components/DependencyInjection/Container.php(141): Shopware\Components\DependencyInjection\Container->doLoad()
#10 engine/Library/Enlight/Plugin/Bootstrap.php(116): Shopware\Components\DependencyInjection\Container->get()
#11 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(457): Enlight_Plugin_Bootstrap->get()
#12 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(426): Shopware_Plugins_Backend_Auth_Bootstrap->getCurrentLocale()
#13 engine/Shopware/Plugins/Default/Backend/Auth/Bootstrap.php(214): Shopware_Plugins_Backend_Auth_Bootstrap->initLocale()
#14 engine/Library/Enlight/Event/Handler/Plugin.php(145): Shopware_Plugins_Backend_Auth_Bootstrap->onPreDispatchBackend()
#15 engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Plugin->execute()
#16 engine/Library/Enlight/Controller/Action.php(169): Enlight_Event_EventManager->notify()
#17 engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch()
#18 engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch()
#19 engine/Shopware/Kernel.php(188): Enlight_Controller_Front->dispatch()
#20 vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php(102): Shopware\Kernel->handle()
#21 vendor/symfony/http-kernel/HttpCache/HttpCache.php(453): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle()
#22 engine/Shopware/Components/HttpCache/AppCache.php(261): Symfony\Component\HttpKernel\HttpCache\HttpCache->forward()
#23 vendor/symfony/http-kernel/HttpCache/HttpCache.php(238): Shopware\Components\HttpCache\AppCache->forward()
#24 engine/Shopware/Components/HttpCache/AppCache.php(102): Symfony\Component\HttpKernel\HttpCache\HttpCache->pass()
#25 shopware.php(122): Shopware\Components\HttpCache\AppCache->handle()
#26 {main}
 

```

Das Frontend scheint ganz normal zu gehen.  
Kann jemand helfen ?

---

<div class="post-metadata">

**Author:** ![skotowski](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@skotowski](https://forum.shopware.com/u/skotowski)\
**Post date:** [5. Oktober 2021 um 20:18 UTC](https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718/2 "2021-10-05T20:18:41Z")

</div>

With both php 8.0 and 7.4 I had problems accessing the backend, it turned out that the problem was caused by Firefox, Chrome, Brave and Opera. However, I logged in without any problems using Edge. It was all about encryption and security in these browsers. The ssl certificate and https protocol resolved the matter

---

<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:** [5. Oktober 2021 um 20:59 UTC](https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718/3 "2021-10-05T20:59:29Z")

</div>

Hallo,

schau mal hier:

> [@Fehler nach Umstellung auf PHP 7.4 - Shop nicht mehr erreichbar](https://forum.shopware.com/t/fehler-nach-umstellung-auf-php-7-4-shop-nicht-mehr-erreichbar/90714/6):
>
> Hallo, lt. Fehlermeldung hast Du Redis aktiv und es gibt wohl Probleme mit dem Dienst oder der Redis Unterstützung bei der dort installierten PHP 7.4 Version, da die Sessions nicht gespeichert werden können. Kommentiere die Redis Zeilen mal in Deiner config.php aus - danach unter /var/cache den production\_xxxx Ordner löschen oder umbenennen. Viele Grüße

Viele Grüße  
SCOOPEX IT Managed Services - [www.scoopex.de](http://www.scoopex.de)  
Founder of AIXPRO - official Shopware Hosting-/Technology Partner - acquired by dogado | Triton Partners in 2019

---

<div class="post-metadata">

**Author:** ![QuasiPasi](https://avatars.discourse-cdn.com/v4/letter/q/35a633/32.png) [@QuasiPasi](https://forum.shopware.com/u/QuasiPasi)\
**Post date:** [6. Oktober 2021 um 13:35 UTC](https://forum.shopware.com/t/php-7-4-kein-zugriff-auf-backend/90718/4 "2021-10-06T13:35:45Z")

</div>

Vielen Dank, das war es
