Roundcube Community Forum

Release Support => Release Discussion => Topic started by: poncho on February 01, 2016, 10:16:50 AM

Title: "DATABASE ERROR: CONNECTION FAILED!" after PHP 7 upgrade
Post by: poncho on February 01, 2016, 10:16:50 AM
Hi,

I just upgraded from PHP 5.6 to PHP 7. Now RCM shows me this in the browser:

Quote
DATABASE ERROR: CONNECTION FAILED!

Unable to connect to the database!
Please contact your server-administrator.

The error log says:

Quote
[01-Feb-2016 15:12:09 +0000]: <96imeqv4> DB Error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client in /var/www/mail/program/lib/Roundcube/rcube_db.php on line 177 (GET /)
[01-Feb-2016 15:12:09 +0000]: <96imeqv4> DB Error: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client (GET /)

Other apps are working like before (phpMyAdmin, Wordpress and self made apps).

Whats wrong with RCM and PHP 7?
Title: Re: "DATABASE ERROR: CONNECTION FAILED!" after PHP 7 upgrade
Post by: SKaero on February 01, 2016, 10:24:04 AM
You will need to upgrade to Roundcube 1.2 beta in order to use PHP 7 with Roundcube.