# Pydio not working after PHP Version change

**URL:** <https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624>\
**Category:** Pydio 8\
**Tags:** php71\
**Created:** [December 10, 2020, 2:05am UTC](https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624 "2020-12-10T02:05:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![litus](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@litus](https://forum.pydio.com/u/litus)\
**Post date:** [December 10, 2020, 2:05am UTC](https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624/1 "2020-12-10T02:05:31Z")

</div>

Hi there,  
I’m having issues with my pydio server 8.2.5 installation.  
When changing the PHP version on the Server from 5.6 to 7.1/2/3/4, I get the following error “Blocking error encountered, please check the server logs: 'There was an error trying to connect to your database! Did you change any configuration for the core connection? Or maybe your database is down?”.

Unfortunately, the log also doesn’t help with this.

As soon as I’m going back to PHP 5.6 everything runs smoothly. Nevertheless, I need to update to PHP 7 due to other things.

Other topics like this have rather an problem with updating pydio but not with the PHP Version or they have a problem with the database itself. But this seems not be my problem.

Would be great if someone else has an idea 🙂

Cheers!

---

<div class="post-metadata">

**Author:** ![c12simple](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/c12simple/32/90_2.png) [@c12simple](https://forum.pydio.com/u/c12simple)\
**Post date:** [December 23, 2020, 10:23am UTC](https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624/2 "2020-12-23T10:23:22Z")

</div>

Hi,  
the error message ““Blocking error encountered, please check the server logs: 'There was an error trying to connect to your database! Did you change any configuration for the core connection? Or maybe your database is down?””

Solution:

- make sure you install php-mysqli
- enable mysqli in bootstrap.json if it was “false”
- then remove plugin cache
- pydio 8.2.5 does not support php \>=7.4

---

<div class="post-metadata">

**Author:** ![litus](https://avatars.discourse-cdn.com/v4/letter/l/f08c70/32.png) [@litus](https://forum.pydio.com/u/litus)\
**Post date:** [December 30, 2020, 2:55am UTC](https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624/3 "2020-12-30T02:55:09Z")

</div>

Hi @c12simple,

thank you for this! I needed to change the driver in the data/plugins/boot.conf/bootstrap.json from mysql to mysqli and it works!

Unfortunately, now I have the problem, if I want to open a shared file via web, I only get a blank page without any error message. Also, my Server has nothing in the logs. Before the Update, it was working fine…  
Any Idea, where I could start?

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/pydio/original/2X/6/61f19fa52ec15fd4250db51aea351adba0e831fd.png) [@system](https://forum.pydio.com/u/system)\
**Post date:** [January 29, 2021, 2:55am UTC](https://forum.pydio.com/t/pydio-not-working-after-php-version-change/3624/4 "2021-01-29T02:55:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
