Page 2 of 3

Re: Problems with php after update to 7x

Posted: Thu Feb 22, 2018 7:57 am
by imperio
DATABASE ERROR: CONNECTION FAILED! -Unable to connect to the database!
You should change password for roundcube database via phpmyadmin and specify new password in this file /etc/roundcubemail/config.inc.php

Code: Select all

$config['db_dsnw'] = 'mysql://roundcube:%password%@localhost/roundcube';
%password% - password for roundcube database

Re: Problems with php after update to 7x

Posted: Thu Feb 22, 2018 6:50 pm
by skamasle
Also check permissions

chmod 644 /etc/roundcubemail/defaults.inc.php

Or some file inside rondcubemail have 640 this is a big issue in every upgrade of roundcube

Check files in /etc/roundcubemail

Re: Problems with php after update to 7x

Posted: Fri Feb 23, 2018 4:09 am
by calvarul
imperio wrote:
Thu Feb 22, 2018 7:57 am
DATABASE ERROR: CONNECTION FAILED! -Unable to connect to the database!
You should change password for roundcube database via phpmyadmin and specify new password in this file /etc/roundcubemail/config.inc.php

Code: Select all

$config['db_dsnw'] = 'mysql://roundcube:%password%@localhost/roundcube';
%password% - password for roundcube database
How do i change password for roundcube if phpMyadmin doesn't work? - error -This page isn’t working -HTTP ERROR 500

Re: Problems with php after update to 7x

Posted: Fri Feb 23, 2018 6:53 am
by imperio

Code: Select all

wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/pma/phpMyAdmin.conf -O /etc/httpd/conf.d/phpMyAdmin.conf
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/pma/config.inc.conf -O /etc/phpMyAdmin/config.inc.php
service httpd restart

Re: Problems with php after update to 7x

Posted: Sat Feb 24, 2018 3:24 am
by calvarul
imperio wrote:
Fri Feb 23, 2018 6:53 am

Code: Select all

wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/pma/phpMyAdmin.conf -O /etc/httpd/conf.d/phpMyAdmin.conf
wget https://raw.githubusercontent.com/serghey-rodin/vesta/master/install/rhel/7/pma/config.inc.conf -O /etc/phpMyAdmin/config.inc.php
service httpd restart
Isn't working - This page isn’t working -Http Error 500

Re: Problems with php after update to 7x

Posted: Sat Feb 24, 2018 7:30 am
by imperio

Code: Select all

yum install phpmyadmin

Re: Problems with php after update to 7x

Posted: Sat Feb 24, 2018 8:07 am
by calvarul
imperio wrote:
Sat Feb 24, 2018 7:30 am

Code: Select all

yum install phpmyadmin
when i run yum install phpmyadmin - Package phpMyAdmin-4.7.8-1.el7.remi.noarch already installed and latest version
Nothing to do

Re: Problems with php after update to 7x

Posted: Sat Feb 24, 2018 10:37 am
by imperio
Sorry but this question should be solved by our team on your server.
Its commercial support.
https://vestacp.com/support/

Re: Problems with php after update to 7x

Posted: Sun Feb 25, 2018 5:08 am
by calvarul
imperio wrote:
Sat Feb 24, 2018 10:37 am
Sorry but this question should be solved by our team on your server.
Its commercial support.
https://vestacp.com/support/
it is possible to revert php to php56 and how?

Re: Problems with php after update to 7x

Posted: Sat Mar 03, 2018 6:04 am
by calvarul
imperio wrote:
Sat Feb 24, 2018 10:37 am
Sorry but this question should be solved by our team on your server.
Its commercial support.
https://vestacp.com/support/
I just fixed with:
-yum remove phpmyadmin
Disable remi repo
mv /etc/yum.repos.d/remi* /root/1/
-yum install phpmyadmin
and for roundcube i change password of rouncube from phpmyadmin