From: "Paul Smedley" Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 9020984 for ecs-isp@2rosenthals.com; Thu, 25 Jan 2024 17:54:45 -0500 Received: from [192.168.200.201] (port=48319 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.96) (envelope-from ) id 1rT8cN-0007z9-1a for ecs-isp@2rosenthals.com; Thu, 25 Jan 2024 17:54:43 -0500 Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:49157) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rT8cL-0004X8-0p for ecs-isp@2rosenthals.com; Thu, 25 Jan 2024 17:54:41 -0500 X-Sender-Id: perthwebhosting|x-authuser|paul@smedley.id.au Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 656154C18F5 for ; Thu, 25 Jan 2024 22:54:37 +0000 (UTC) Received: from colossiansvm.perthwebhosting.net.au (unknown [127.0.0.6]) (Authenticated sender: perthwebhosting) by relay.mailchannels.net (Postfix) with ESMTPA id 0ED6F4C1DEB for ; Thu, 25 Jan 2024 22:54:34 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706223275; a=rsa-sha256; cv=none; b=GRg+8TmpiUYv3aCRkc4lRjaSO39HgD7ozGZ4qQw6i8HuZszN+83zHK9uJfPgjg38xZ6mmS O4kH5HCBKOAUsvmTnjBp6925MuKP2oSvS5joSHQdBeIh6c2IyouB4d3dLXYpNTHV81GXtg GEPqn7hzTrvELKyLpfTQ3Z9Eb8Bscms0tGeLfvEyTosYF+Tv8VQDb/K4OrN+rhzwj35t3D YUGBHsVxNSL+bh4CjWaZJS+V8vi8WazuB3AKnTiamt+o/mYd6vMFIoiGmd0tGq7cRZ/dH2 bz74OcVW2khY6Ac+PWv9JXbiIaKpZcKPlAGNHVJOXY7qxLgo34L/ujePF2x3wA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706223275; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=AMcWEvoem537USlumPfLSpR9wJCnRNUmScK9yJdcdRQ=; b=nl0oUh2tw4775Nq5+hysAKWCRCv+/MCPyjoRVRNa21GTYqR0C5kTL5ThA/3VyhT2nXUojM +6jDd8b7v6f3OVSrU0osrH1FQYWd/jYitVDJwpweKPs46qBahP4HmXRH0OL2Rz2RV53ehx 4OCXLfpwNJewzhixzMtHkCPRPxH79T6luTMXzhXwfOhdcsMWJ+QQ6p5eQV1nGjbpeyX3p7 q5KcFrbXIw8dXdKjD//ueKNUpIlctkMakqZGI3L3O1/bTXcMopoK2vjFGnUYwxG9U/co5w 9P5B66Zu+GMAkOSii2BlsPtQHBUVQ/sTYBrvmMZYpTyELRhxcSKrVnK6wmx9bw== ARC-Authentication-Results: i=1; rspamd-9c9494d96-29kqv; auth=pass smtp.auth=perthwebhosting smtp.mailfrom=paul@smedley.id.au X-Sender-Id: perthwebhosting|x-authuser|paul@smedley.id.au X-MC-Relay: Neutral X-MailChannels-SenderId: perthwebhosting|x-authuser|paul@smedley.id.au X-MailChannels-Auth-Id: perthwebhosting X-Lonely-Battle: 0d4187aa2132a39b_1706223275728_1667938322 X-MC-Loop-Signature: 1706223275728:3058819952 X-MC-Ingress-Time: 1706223275728 Received: from colossiansvm.perthwebhosting.net.au (colossiansvm.perthwebhosting.net.au [103.13.84.198]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.108.147.7 (trex/6.9.2); Thu, 25 Jan 2024 22:54:35 +0000 Received: from [45.249.117.124] (port=59328 helo=[192.168.1.159]) by colossiansvm.perthwebhosting.net.au with esmtpsa (TLS1.3) tls TLS_AES_128_GCM_SHA256 (Exim 4.96.2) (envelope-from ) id 1rT8cF-002OSW-1S for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 06:54:31 +0800 Message-ID: <381f7d1e-df01-4889-ab69-ababaeb2256b@smedley.id.au> Date: Fri, 26 Jan 2024 09:24:30 +1030 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [eCS-ISP] RoundCube webmail 1.4 or 1.5 php issue Content-Language: en-AU To: eCS ISP Mailing List References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AuthUser: paul@smedley.id.au Hi guys, On 26/1/24 08:28, Lewis G Rosenthal wrote: > On 01/25/24 08:44 am, Massimo S. wrote: >> 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 >> > > Setting aside what php.ini says, what does phpinfo(); say about the > configuration and loaded modules? > > First, check that mbstring is indeed loaded. Then look back up at the > top of the page. Under my php 7.4.32 Configure Command (3rd category > down, in the top section), I see: > > --disable-mbregex > > which effectively disables mbstring's regex component. See: > > https://www.php.net/manual/en/migration74.other-changes.php > > My guess is that we do not (yet) have libonig available, necessary for > mbregex functions, which is why Paul built with mbregex disabled (just > a WAG; Paul, please correct me if I am looking in the wrong place). > > Perhaps there's a way to disable mbregex calls in RC, assuming you > don't really need them? > Per https://github.com/psmedley/php-os2/blob/main/configure.sh - --disable-mbregex is indeed set. I have no re-collection as to what drove this to be set,  if there was a 3rd party dependency that wasn't readily available, that was likely the issue. Cheers, Paul