List ecs-isp@2rosenthals.com Arkiverade meddelande #655

Från: "Massimo S." <ecs-isp@2rosenthals.com> Meddelandehuvud
Oavkodat meddelande
Ämne: RoundCube webmail 1.4 or 1.5 php issue
Datum: Thu, 25 Jan 2024 14:44:30 +0100
Till: eCS ISP Mailing List <ecs-isp@2rosenthals.com>

Hi all,

i need to upgrade RC webmail from 1.3.17 LTS to 1.4.14 or better 1.5.6.

Env:
Server Version: Apache/2.4.57 (OS/2) OpenSSL/1.1.1l PHP/7.4.32
Server Built: Apr 8 2023 07:51:12

The php webmail fail at boot with this error:

[25-Jan-2024 14:14:06 Europe/Rome] PHP Fatal error:  Uncaught Error: Call to undefined function mb_regex_encoding() in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php:87
Stack trace:
#0 D:\apache\htdocs\webmail\program\include\iniset.php(74): require_once()
#1 D:\apache\htdocs\webmail\installer\index.php(43): require('D:\\apache\\htdo...')
#2 {main}
  thrown in D:\apache\htdocs\webmail\program\lib\Roundcube\bootstrap.php on line 87



Of course mbstring in php.ini is enabled:

extension=bz2.dll                                                               extension=curl.dll                                                  extension=exif.dll                    extension=gd.dll extension=gettext.dll                                                           extension=mbstring.dll                    extension=mcrypt.dll                 extension=openssl.dll extension=iconv.dll                                                             extension=pdo_mysq.dll                                                  extension=zip.dll


And php_info confirms it is enabled.

This is the php code of the webmail that fails:

// set internal encoding for mbstring extension mb_internal_encoding(RCUBE_CHARSET); mb_regex_encoding(RCUBE_CHARSET);


Any help?

thanks

massimo


Bifogad fil:  mb.jpeg (140538 bytes)

Prenumerera: Sändning, Uppsamling, Index.
Stoppa prenumeration
Meddelande till ListMaster