Page 1 of 1

Having issues with Roundcube install

Posted: Thu Aug 09, 2018 4:30 pm
by Elfy
Hi all,

I recently removed Roundcube, then re-installed it using the install script as a guide. However when I visit the /webmail URL, I get an internal Vesta error. /var/log/vesata/nginx-error.log shows:

Code: Select all

2018/08/09 10:16:54 [error] 340#0: *917 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/share/roundcube/program/lib/Roundcube/rcube_db_mysql.php on line 144
PHP message: PHP Fatal error:  Undefined class constant 'MYSQL_ATTR_FOUND_ROWS' in /usr/share/roundcube/program/lib/Roundcube/rcube_db_mysql.php on line 144" while reading response header from upstream, client: 192.168.0.201, server: _, request: "GET /webmail/ HTTP/1.0", upstream: "fastcgi://unix:/var/run/vesta-php.sock:", host: "cp.XXXXXXXXXX.net"
When I try to load Roundcube through the installer, I get a lot of errors as if PHP modules are not properly loading:
SpoilerShow
Image
I noticed that I supposedly have PHP 7.0 installed, but it's loading the fastcgi for PHP 5.6. VestaCP is running behind a reverse proxy, could this be the issue?

Any help is greatly appreciated.
-Matt