PHP errors in Ubuntu 16.04 when logging in to roundcube and phpmyadmin

Fresh install, did some fix for php conf, from other thread, that was downloading php files then i got log in page but after entering log and pass I get this errors

For phpmyadmin page not displays at all


[Sat Jun 04 20:13:12.084420 2016] [:error] [pid 20996] [client] PHP Fatal error: Uncaught Error: Call to undefined function mb_strtolower() in /home/vodeoo/public_html/mail/program/include/rcmail.php:584\nStack trace:\n#0 /home/vodeoo/public_html/mail/index.php(109): rcmail->login(‘vodeoo’, ‘bZukfhGuammxTQM…’, ‘localhost’, true)\n#1 {main}\n thrown in /home/vodeoo/public_html/mail/program/include/rcmail.php on line 584, referer:

[Sat Jun 04 20:18:17.479210 2016] [:error] [pid 21970] [client] PHP Fatal error: Uncaught Error: Call to undefined function mb_detect_encoding() in /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/\nStack trace:\n#0 /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/ _encode(‘The %s extensio…’)\n#1 /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/ _gettext(‘The %s extensio…’)\n#2 /home/vodeoo/public_html/phpmyadmin/libraries/core.lib.php(306): __(‘The %s extensio…’)\n#3 /home/vodeoo/public_html/phpmyadmin/libraries/core.lib.php(959): PMA_warnMissingExtension(‘mbstring’, true)\n#4 /home/vodeoo/public_html/phpmyadmin/libraries/ PMA_checkExtensions()\n#5 /home/vodeoo/public_html/phpmyadmin/index.php(13): require_once(’/home/vodeoo/pu…’)\n#6 {main}\n thrown in /home/vodeoo/public_html/phpmyadmin/libraries/php-gettext/ on line 177


Can you try some of the fixes mentioned here and see if any of these help… it sounds like you may be missing a package or two:

Thanks, looks like it fixed the problem, now I can log in to phpmyadmin and roundcube, I did not test it extensively, but log in works :slight_smile:

There is another problem, it works through http:// but https:// php files still being downloaded not executed


I just had the very same problem.
Fresh Ubuntu 16.04, Virtualmin and Roundcube.
“sudo apt-get install php-mbstring php7.0-mbstring php-gettext” fixed it!
Will you include php-mbstring php7.0-mbstring php-gettext to be installed with Virtulmin in a upcomming verion?