• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Roundcube mbstring issue with Litespeed - error 500

Hostarts

New Pleskian
Server operating system version
CloudLinux 7.9
Plesk version and microupdate number
18.0.51.1
Hello

The issue appears on its own since introduction of the latest version 18.0.51 we have been getting these cases related to litespeed and roundcube, we tried checking if the issue is related to CageFS but it does not appear to happen due to that.

Swtiching to apache resolves the issue but at the same time server will suffer from higher load at some point of the day.

```
17-May-2023 10:51:04 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php on line 86
[17-May-2023 10:51:04 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php on line 86
[17-May-2023 10:51:05 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php on line 86
[17-May-2023 10:51:06 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php on line 86
[17-May-2023 10:51:06 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /usr/share/psa-roundcube/program/lib/Roundcube/bootstrap.php on line 86
```
 
The mbstring package is missing for PHP handler where Roundcube is running under. Install the php-mbstring package of necessary version(s). In the Plesk supplied PHP versions this is available by default. I am not sure what the situation on your system is that it is missing there. Maybe some custom PHP version that was installed along the road?
 
The MBstring is already available and installed :

rpm -qa | grep plesk-php74-mbstring
plesk-php74-mbstring-7.4.33-1centos.7.221109.0743.x86_64

Any other clue ?
 
In the PHP installations provided by Plesk all necessary PHP modules are included. But your error message above clearly states that a function is missing. This leads to the hypothesis that your Roundcube is not using any of the PHP versions provided by Plesk. Please have a look at this KB article from where you can derive places where to check how your Roundcube is set up, e.g. which PHP it uses.
You also mentioned that it only fails on Litespeed. How was Litespeed installed? What PHP is used in their configuration for the webmail subdomain?
 
Another idea that comes into my mind is that CloudLinux has a caged PHP/PHP selector. That won't work right with Plesk PHP. Either one or the other, but not both. The PHP version used through Litespeed might be the caged PHP from CloudLinux. That will need to be checked on the server.
 
Back
Top