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 9051438 for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 15:39:18 -0500 Received: from secmgr-va.randr ([192.168.200.201]:55831 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.96) (envelope-from ) id 1rTSyo-00010Z-3A for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 15:39:15 -0500 Received: from buffalo.tulip.relay.mailchannels.net ([23.83.218.24]:37493) by mail2.2rosenthals.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rTSym-0005Im-0v for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 15:39:12 -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 B785980C81 for ; Fri, 26 Jan 2024 20:39:10 +0000 (UTC) Received: from colossiansvm.perthwebhosting.net.au (unknown [127.0.0.6]) (Authenticated sender: perthwebhosting) by relay.mailchannels.net (Postfix) with ESMTPA id 47DDC80C21 for ; Fri, 26 Jan 2024 20:39:09 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1706301549; a=rsa-sha256; cv=none; b=VHPIoOu5Jb1woL90Wdq/HdJ/BWa226FKSg1xX/0fzdIUkgXsu07nrm+JSL1o23QYH6g49I oS3fRea0AgUdOXGA6YSyWcIYqgymg6OdVlJeLzVTu9CMa6pjGUat1CBihpSUP7iTaNLaRM thL+emB7D8sC+rHcvdvZ09xJujJl2FxN6xX3dLFOnEiPBGcbLu/A/+SzObidLu7jLfLzW1 1X+Wp7mCi8y3YyeENJX4Bap6MugvFFpxdG1Upj9wv4pSpWVB/cyX06YjbzGSRBi85OhFBU s3f3B++lXI/mkpltz7CVAvgZLeLm1saofSJ5uiAT3YTDwq8VsFkdGVwhY4IQRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1706301549; 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=+TKQljpcUEkKCjo9/UGwAVg8d/9KOSpIUv1Z9zEAwrg=; b=be2PXpQedq1kgeU+kVqqeKF4tK5/dncxcPYOa0AV7q5Mx1FGV+lzYrnITfDXpTisDiojsj FQCQHluI5grojsYD5AQYK3i0zBv9YCwY6Sr+NJZu4uQJc/uQykBCKskIuz0HhLRJ1HwQ52 lCRXlh3t6OJlS+Rm7FDht+jZCZvEo1RV32TXtn5JdUJB6whltsG0beJQIMCBML+rz+as98 KwCudviWZc4Xgq6d1X6XKzQ8f7IoeIJ0354E7PD7crldAUSTs6bgmN6cNb9Iv/KbOYruCH 2yjcReaiHZvxS5V0kBMz92iWkHKTYOHbYR5gUium616EkiCZb9HERvUaahntFA== ARC-Authentication-Results: i=1; rspamd-6fdd97fffb-q5q4j; 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-Drop-Bottle: 23db92f5405a7325_1706301549946_2388688411 X-MC-Loop-Signature: 1706301549946:3208047042 X-MC-Ingress-Time: 1706301549945 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.120.121.224 (trex/6.9.2); Fri, 26 Jan 2024 20:39:09 +0000 Received: from [45.249.117.21] (port=33146 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 1rTSyj-00801d-2e for ecs-isp@2rosenthals.com; Sat, 27 Jan 2024 04:39:05 +0800 Message-ID: <786af575-72f7-40f0-9008-fc8000647976@smedley.id.au> Date: Sat, 27 Jan 2024 07:09:04 +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: <381f7d1e-df01-4889-ab69-ababaeb2256b@smedley.id.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-AuthUser: paul@smedley.id.au Try again.For some reason, when I copied over the file to the webserver, it didn't overwrite the jurassic  file that was already there. On 27/1/24 01:13, Massimo S. wrote: > Hi Paul, > > with this DLL: > > mbstring.dll    1.229K 20/09/17  8:35a > > i get: > > [26-Jan-2024 14:38:05 UTC] PHP Warning:  PHP Startup: Unable to load > dynamic library 'mbstring.dll' (tried: d:/apache/modules\mbstring.dll > (dlopen rc=2 extra=PHP5), d:/apache/modules\mbstring.dll.so (dlopen > rc=2 extra=D:\APACHE\MODULES\MBSTRING.DLL.SO)) in Unknown on line 0 > > and the webmail gives an http error 500 > > massimo > > > Il 26/01/2024 05:06, Paul Smedley ha scritto: >> https://smedley.id.au/tmp/mbstring.zip might fix this. >> >> On 26/1/24 09:24, Paul Smedley wrote: >>> 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 >>> >> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> This message is sent to you because you are subscribed to >>   the mailing list . >> To unsubscribe, E-mail to: >> To switch to the DIGEST mode, E-mail to >> To switch to the INDEX mode, E-mail to >> Send administrative queries to >> To subscribe (new addresses), E-mail to: >> and reply to the confirmation email. >> Web archives are publicly available at: http://lists.2rosenthals.com >> >> This list is hosted by Rosenthal & Rosenthal, LLC >> P.O. Box 281, Deer Park, NY 11729-0281. Non- >> electronic communications related to content >> contained in these messages should be directed >> to the above address. (CAN-SPAM Act of 2003) >> >> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >> > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > This message is sent to you because you are subscribed to >  the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > To switch to the INDEX mode, E-mail to > Send administrative queries to > To subscribe (new addresses), E-mail to: > and reply to the confirmation email. > Web archives are publicly available at: http://lists.2rosenthals.com > > This list is hosted by Rosenthal & Rosenthal, LLC > P.O. Box 281, Deer Park, NY 11729-0281. Non- > electronic communications related to content > contained in these messages should be directed > to the above address. (CAN-SPAM Act of 2003) > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >