Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Problems with php after update to 7x

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
22 posts
  • Previous
  • 1
  • 2
  • 3
  • Next
imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Problems with php after update to 7x
  • Quote

Post by imperio » 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
Top

skamasle
Collaborator
Posts: 592
Joined: Mon Feb 29, 2016 6:36 pm

Re: Problems with php after update to 7x
  • Quote

Post by skamasle » Thu Feb 22, 2018 6:50 pm

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
Top

calvarul
Posts: 10
Joined: Mon Feb 19, 2018 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: Problems with php after update to 7x
  • Quote

Post by calvarul » Fri Feb 23, 2018 4:09 am

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Problems with php after update to 7x
  • Quote

Post by imperio » 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
Top

calvarul
Posts: 10
Joined: Mon Feb 19, 2018 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: Problems with php after update to 7x
  • Quote

Post by calvarul » Sat Feb 24, 2018 3:24 am

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Problems with php after update to 7x
  • Quote

Post by imperio » Sat Feb 24, 2018 7:30 am

Code: Select all

yum install phpmyadmin
Top

calvarul
Posts: 10
Joined: Mon Feb 19, 2018 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: Problems with php after update to 7x
  • Quote

Post by calvarul » Sat Feb 24, 2018 8:07 am

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
Top

imperio
VestaCP Team
Posts: 7000
Joined: Sat Dec 01, 2012 12:37 pm
Contact:
Contact imperio
Website

Re: Problems with php after update to 7x
  • Quote

Post by imperio » 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/
Top

calvarul
Posts: 10
Joined: Mon Feb 19, 2018 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: Problems with php after update to 7x
  • Quote

Post by calvarul » Sun Feb 25, 2018 5:08 am

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?
Top

calvarul
Posts: 10
Joined: Mon Feb 19, 2018 2:57 pm

Os: CentOS 6x
Web: apache + nginx
Re: Problems with php after update to 7x
  • Quote

Post by calvarul » Sat Mar 03, 2018 6:04 am

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
Top


Post Reply
  • Print view

22 posts
  • Previous
  • 1
  • 2
  • 3
  • Next

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password