Author Topic: Roundcube 16 install on Debian 11.5  (Read 1467 times)

Offline the_extremist

  • Newbie
  • *
  • Posts: 9
Roundcube 16 install on Debian 11.5
« on: October 12, 2022, 04:32:11 AM »
Hello, I trying to install the new roundcube with php 8.1 and I get an error

Code: [Select]
Oops... something went wrong!
An internal error has occurred. Your request cannot be processed at this time.

For administrators: Please check the application and/or server error logs for more information.

Normal index.ph with some php code works wery well

apache2/error.log
Code: [Select]
[Wed Oct 12 10:28:42.413565 2022] [php:error] [pid 45989] [client 192.168.80.238:55297] PHP Fatal error:  Uncaught Error: Call to undefined function mb_internal_encoding() in /var/www/roundcube/program/lib/Roundcube/bootstrap.php:86\nStack trace:\n#0 /var/www/roundcube/program/include/iniset.php(78): require_once()\n#1 /var/www/roundcube/index.php(40): require_once('...')\n#2 {main}\n  thrown in /var/www/roundcube/program/lib/Roundcube/bootstrap.php on line 86

roundcube/logs
Code: [Select]
[12-Oct-2022 10:13:01 +0200]: <2kgp6hh7> DB Error: SQLSTATE[HY000] [1045] Access denied for user 'roundcube'@'localhost' (using password: NO) in /var/www/roundcube/program/lib/Roundcube/rcube_db.php on line 200 (GET /)


Code: [Select]
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache


Can someone help me ?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Roundcube 16 install on Debian 11.5
« Reply #1 on: October 12, 2022, 09:47:25 AM »
The mb_internal_encoding error would point to an issue with the php mbstring module, are you sure you have the php 8.1 version installed and enabled?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: Roundcube 16 install on Debian 11.5
« Reply #2 on: October 14, 2022, 03:55:05 AM »
You may have mbstring enabled for CLI, but not for the http server.