Hi, I noticed that my phpMyAdmin and RoundCube stopped working on my Debian 9 server. I'm not sure what the problem could be, but i have the feeling that it has something to do with the PHP update from PHP 5.6 to PHP 7.4 on my Debian 9 server. Anyone have an idea what i could try? phpMyAdmin /var/log/apache2 Code: [Sat Mar 06 16:28:11.019617 2021] [core:notice] [pid 5019] AH00052: child pid 7233 exit signal Segmentation fault (11) [Sat Mar 06 16:28:12.025070 2021] [core:notice] [pid 5019] AH00052: child pid 5822 exit signal Segmentation fault (11) [Sat Mar 06 16:28:12.025235 2021] [core:notice] [pid 5019] AH00052: child pid 6384 exit signal Segmentation fault (11) [Sat Mar 06 16:28:12.025261 2021] [core:notice] [pid 5019] AH00052: child pid 7238 exit signal Segmentation fault (11) [Sat Mar 06 16:28:13.030988 2021] [core:notice] [pid 5019] AH00052: child pid 7130 exit signal Segmentation fault (11) [Sat Mar 06 16:28:13.031063 2021] [core:notice] [pid 5019] AH00052: child pid 7199 exit signal Segmentation fault (11) [Sat Mar 06 16:28:13.031072 2021] [core:notice] [pid 5019] AH00052: child pid 7200 exit signal Segmentation fault (11) [Sat Mar 06 16:28:13.031082 2021] [core:notice] [pid 5019] AH00052: child pid 7343 exit signal Segmentation fault (11) [Sat Mar 06 16:28:14.063862 2021] [core:notice] [pid 5019] AH00052: child pid 6514 exit signal Segmentation fault (11) [Sat Mar 06 16:28:14.063967 2021] [core:notice] [pid 5019] AH00052: child pid 7228 exit signal Segmentation fault (11) RoundCube /var/log/apache2 Code: [Sat Mar 06 16:26:28.596760 2021] [proxy_fcgi:error] [pid 6634] [client 1XX.0.XX.82:64518] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "env" in /usr/share/roundcube/index.php on line 43PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP Warning: Undefined variable $rcmail_config in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 323PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_config->load_from_file($file = 'defaults.inc.php') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:199PHP message: PHP Warning: Undefined variable $rcmail_config in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 323PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_config->load_from_file($file = 'config.inc.php') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:204PHP message: PHP Warning: Undefined array key 2 in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 118PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP 7. rcube_charset::parse_charset($input = 'UTF-8') /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php:177PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Junk', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Junk', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Sent', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Sent', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share [Sat Mar 06 16:26:28.598674 2021] [proxy_fcgi:error] [pid 6634] [client 1XX.0.XX.82] AH01071: Got error 'ube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Trash', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Trash', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244'
The versions are: phpMyAdmin: 4:4.6.6-4+deb9u2 RoundCube: 1.2.3+dfsg.1-4+deb9u8 My server was also setup with the Guide "The Perfect Server - Debian 9 (Stretch) with Apache, BIND, Dovecot, PureFTPD and ISPConfig 3.1" I also have PHP 8.0 installed and i changed this settings below to PHP 7.4, but that didn't help. ls -l /etc/alternatives/*php* Code: lrwxrwxrwx 1 root root 15 Mar 6 16:01 /etc/alternatives/php -> /usr/bin/php7.4 lrwxrwxrwx 1 root root 31 Mar 6 16:01 /etc/alternatives/php.1.gz -> /usr/share/man/man1/php7.4.1.gz lrwxrwxrwx 1 root root 19 Mar 6 16:01 /etc/alternatives/php-cgi -> /usr/bin/php-cgi7.4 lrwxrwxrwx 1 root root 35 Mar 6 16:01 /etc/alternatives/php-cgi.1.gz -> /usr/share/man/man1/php-cgi7.4.1.gz lrwxrwxrwx 1 root root 23 Mar 6 17:02 /etc/alternatives/php-cgi-bin -> /usr/lib/cgi-bin/php7.4 lrwxrwxrwx 1 root root 24 Mar 6 17:04 /etc/alternatives/php-fpm.sock -> /run/php/php7.4-fpm.sock
Alright, most likely you are using mod-php 8.0 now. Try Code: a2dismod php8.0 a2enmod php7.0 Those are both very old versions by the way, I would strongly advice you to update them. Also, the default PHP version for Debian 9 is PHP 7.0, so your alternatives should be using PHP 7.0 instead of PHP 7.4. See the read before posting on this: https://www.howtoforge.com/community/threads/please-read-before-posting.58408/ -> "Panel not showing up / server.sh script error"
One more note: it would be even better to stop using mod-php and start using php-fpm as default handler: Code: a2enmod http2 a2enconf php7.0-fpm systemctl reload apache2 a2dismod php7.0 systemctl restart apache2 a2dismod mpm_prefork a2enmod mpm_event systemctl restart apache2
I now did all those changes and now i get a different error with phpMyAdmin, but the RoundCube error is the same. ls -l /etc/alternatives/*php* Code: lrwxrwxrwx 1 root root 15 Mar 6 17:31 /etc/alternatives/php -> /usr/bin/php7.0 lrwxrwxrwx 1 root root 31 Mar 6 17:31 /etc/alternatives/php.1.gz -> /usr/share/man/man1/php7.0.1.gz lrwxrwxrwx 1 root root 19 Mar 6 17:30 /etc/alternatives/php-cgi -> /usr/bin/php-cgi7.0 lrwxrwxrwx 1 root root 35 Mar 6 17:30 /etc/alternatives/php-cgi.1.gz -> /usr/share/man/man1/php-cgi7.0.1.gz lrwxrwxrwx 1 root root 23 Mar 6 17:30 /etc/alternatives/php-cgi-bin -> /usr/lib/cgi-bin/php7.0 lrwxrwxrwx 1 root root 24 Mar 6 17:30 /etc/alternatives/php-fpm.sock -> /run/php/php7.0-fpm.sock phpMyAdmin /var/log/apache2 Code: [Sat Mar 06 17:37:16.278238 2021] [proxy_fcgi:error] [pid 27188:tid 140649055622912] [client 1XX.0.2XX.82:7659] AH01071: Got error 'PHP message: PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/share/phpmyadmin/libraries/url_generating.lib.php on line 231PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/phpmyadmin/index.php:0PHP message: PHP 2. require_once() /usr/share/phpmyadmin/index.php:13' RoundCube /var/log/apache2 Code: [Sat Mar 06 17:40:23.150894 2021] [proxy_fcgi:error] [pid 27188:tid 140648929732352] [client 1XX.0.2XX.82:7668] AH01071: Got error 'PHP message: PHP Warning: Undefined array key "env" in /usr/share/roundcube/index.php on line 43PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP Warning: Undefined variable $rcmail_config in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 323PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_config->load_from_file($file = 'defaults.inc.php') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:199PHP message: PHP Warning: Undefined variable $rcmail_config in /usr/share/roundcube/program/lib/Roundcube/rcube_config.php on line 323PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_config->load_from_file($file = 'config.inc.php') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:204PHP message: PHP Warning: Undefined array key 2 in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 118PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP 7. rcube_charset::parse_charset($input = 'UTF-8') /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php:177PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Drafts', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Junk', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Junk', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Sent', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Sent', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF-8" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 232PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($en [Sat Mar 06 17:40:23.158325 2021] [proxy_fcgi:error] [pid 27188:tid 140648929732352] [client 1XX.0.2XX.82:7668] AH01071: Got error 'ube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Trash', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244PHP message: PHP Warning: Undefined array key "UTF7-IMAP" in /usr/share/roundcube/program/lib/Roundcube/rcube_charset.php on line 233PHP message: PHP Stack trace:PHP message: PHP 1. {main}() /usr/share/roundcube/index.php:0PHP message: PHP 2. rcmail::get_instance($mode = 0, $env = NULL) /usr/share/roundcube/index.php:43PHP message: PHP 3. rcmail->__construct($env = NULL) /usr/share/roundcube/program/include/rcmail.php:77PHP message: PHP 4. rcube_config->__construct($env = NULL) /usr/share/roundcube/program/lib/Roundcube/rcube.php:148PHP message: PHP 5. rcube_config->load() /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:87PHP message: PHP 6. rcube_charset::convert($str = 'Trash', $from = 'UTF-8', $to = 'UTF7-IMAP') /usr/share/roundcube/program/lib/Roundcube/rcube_config.php:244'
Yes i did that too. Here is what i exactly have done: Code: a2enmod http2 a2enconf php7.0-fpm systemctl reload apache2 a2dismod php7.0 a2dismod php7.1 a2dismod php7.2 a2dismod php7.3 a2dismod php7.4 a2dismod php8.0 systemctl restart apache2 a2dismod mpm_prefork a2enmod mpm_event systemctl restart apache2
I have no error when executing the commands: Code: root@server1:~# a2enmod http2 Module http2 already enabled root@server1:~# a2enconf php7.0-fpm Conf php7.0-fpm already enabled root@server1:~# systemctl reload apache2 root@server1:~# a2dismod php7.0 Module php7.0 already disabled root@server1:~# a2dismod php7.1 Module php7.1 already disabled root@server1:~# a2dismod php7.2 Module php7.2 already disabled root@server1:~# a2dismod php7.3 Module php7.3 already disabled root@server1:~# a2dismod php7.4 Module php7.4 already disabled root@server1:~# a2dismod php8.0 Module php8.0 already disabled root@server1:~# systemctl restart apache2 root@server1:~# a2dismod mpm_prefork Module mpm_prefork already disabled root@server1:~# a2enmod mpm_event Considering conflict mpm_worker for mpm_event: Considering conflict mpm_prefork for mpm_event: Module mpm_event already enabled root@server1:~# systemctl restart apache2 The Websites and the ISPConfig Control Panel are working fine. But phpMyAdmin and RoundCube refuse to work, very strange.
Perhaps your Roundcube and PHPMyAdmin installations are so old they don't support PHP 7.X? What is the output of Code: ls -la /etc/apache2/conf-enabled ?
I also have the feeling that there is some incompatibly with PHP 7.0. But it would be strange if Roundcube and PHPMyAdmin wouden't have been updated to support PHP 7.0, because PHP 7.0 is now the default PHP version for Debian 9 for some time now. ls -la /etc/apache2/conf-enabled Code: total 8 drwxr-xr-x 2 root root 4096 Feb 20 14:30 . drwxr-xr-x 8 root root 4096 Oct 16 2019 .. lrwxrwxrwx 1 root root 34 Jan 23 2018 apache2-doc.conf -> ../conf-available/apache2-doc.conf lrwxrwxrwx 1 root root 30 Jan 23 2018 charset.conf -> ../conf-available/charset.conf lrwxrwxrwx 1 root root 30 Jan 23 2018 httpoxy.conf -> ../conf-available/httpoxy.conf lrwxrwxrwx 1 root root 44 Jan 23 2018 localized-error-pages.conf -> ../conf-available/localized-error-pages.conf lrwxrwxrwx 1 root root 24 Jan 23 2018 mailman.conf -> /etc/mailman/apache.conf lrwxrwxrwx 1 root root 46 Jan 23 2018 other-vhosts-access-log.conf -> ../conf-available/other-vhosts-access-log.conf lrwxrwxrwx 1 root root 33 Feb 20 14:30 php7.0-fpm.conf -> ../conf-available/php7.0-fpm.conf lrwxrwxrwx 1 root root 33 Feb 20 14:30 php7.2-fpm.conf -> ../conf-available/php7.2-fpm.conf lrwxrwxrwx 1 root root 33 Feb 20 14:30 php7.3-fpm.conf -> ../conf-available/php7.3-fpm.conf lrwxrwxrwx 1 root root 33 Feb 20 14:30 php7.4-fpm.conf -> ../conf-available/php7.4-fpm.conf lrwxrwxrwx 1 root root 33 Feb 20 14:30 php8.0-fpm.conf -> ../conf-available/php8.0-fpm.conf lrwxrwxrwx 1 root root 33 Jan 23 2018 phpmyadmin.conf -> ../conf-available/phpmyadmin.conf lrwxrwxrwx 1 root root 32 Jan 23 2018 roundcube.conf -> ../conf-available/roundcube.conf lrwxrwxrwx 1 root root 31 Jan 23 2018 security.conf -> ../conf-available/security.conf lrwxrwxrwx 1 root root 36 Jan 23 2018 serve-cgi-bin.conf -> ../conf-available/serve-cgi-bin.conf phpmyadmin.conf Code: # phpMyAdmin default Apache configuration Alias /phpmyadmin /usr/share/phpmyadmin <Directory /usr/share/phpmyadmin> Options SymLinksIfOwnerMatch DirectoryIndex index.php <IfModule mod_php5.c> <IfModule mod_mime.c> AddType application/x-httpd-php .php </IfModule> <FilesMatch ".+\.php$"> SetHandler application/x-httpd-php </FilesMatch> php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/ php_admin_value mbstring.func_overload 0 </IfModule> <IfModule mod_php.c> <IfModule mod_mime.c> AddType application/x-httpd-php .php </IfModule> <FilesMatch ".+\.php$"> SetHandler application/x-httpd-php </FilesMatch> php_value include_path . php_admin_value upload_tmp_dir /var/lib/phpmyadmin/tmp php_admin_value open_basedir /usr/share/phpmyadmin/:/etc/phpmyadmin/:/var/lib/phpmyadmin/:/usr/share/php/php-gettext/:/usr/share/php/php-gettext/:/usr/share/javascript/:/usr/share/php/tcpdf/:/usr/share/doc/phpmyadmin/:/usr/share/php/phpseclib/ php_admin_value mbstring.func_overload 0 </IfModule> </Directory> # Authorize for setup <Directory /usr/share/phpmyadmin/setup> <IfModule mod_authz_core.c> <IfModule mod_authn_file.c> AuthType Basic AuthName "phpMyAdmin Setup" AuthUserFile /etc/phpmyadmin/htpasswd.setup </IfModule> Require valid-user </IfModule> </Directory> # Disallow web access to directories that don't need it <Directory /usr/share/phpmyadmin/templates> Require all denied </Directory> <Directory /usr/share/phpmyadmin/libraries> Require all denied </Directory> <Directory /usr/share/phpmyadmin/setup/lib> Require all denied </Directory> </Directory> roundcube.conf Code: # Those aliases do not work properly with several hosts on your apache server # Uncomment them to use it or adapt them to your configuration # Alias /roundcube /var/lib/roundcube Alias /webmail /var/lib/roundcube <Directory /var/lib/roundcube/> Options +FollowSymLinks # This is needed to parse /var/lib/roundcube/.htaccess. See its # content before setting AllowOverride to None. AllowOverride All <IfVersion >= 2.3> Require all granted </IfVersion> <IfVersion < 2.3> Order allow,deny Allow from all </IfVersion> </Directory> # Protecting basic directories: <Directory /var/lib/roundcube/config> Options -FollowSymLinks AllowOverride None </Directory> <Directory /var/lib/roundcube/temp> Options -FollowSymLinks AllowOverride None <IfVersion >= 2.3> Require all denied </IfVersion> <IfVersion < 2.3> Order allow,deny Deny from all </IfVersion> </Directory> <Directory /var/lib/roundcube/logs> Options -FollowSymLinks AllowOverride None <IfVersion >= 2.3> Require all denied </IfVersion> <IfVersion < 2.3> Order allow,deny Deny from all </IfVersion> </Directory>
No updates are available when i run "aptitude update && aptitude upgrade". Is there a save repository for phpMyAdmin and RoundCube for Debian 9 whit PHP 7.X?
You can update them manually, as they were most likely manually installed. You can also install a Debian 10 host with the new ISPConfig autoinstaller, and then migrate your current setup to that.
The last command worked everything is running now without a problem. What a command line puzzle all this was. Code: a2disconf php8.0-fpm systemctl restart apache2 I'm also planing to buy a new KMS-Server in summer and then i do everything from scared with the old server as a backup. I still have trauma from the Windows ME migration.