From: "Massimo S." Received: from [192.168.100.201] (HELO mail.2rosenthals.com) by 2rosenthals.com (CommuniGate Pro SMTP 5.4.10) with ESMTPS id 9040576 for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 09:44:11 -0500 Received: from [192.168.200.201] (port=51510 helo=mail2.2rosenthals.com) by mail.2rosenthals.com with esmtp (Exim 4.96) (envelope-from ) id 1rTNR2-0000Sm-35 for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 09:44:01 -0500 Received: from mail2.quasarbbs.net ([80.86.52.115]:10001) by mail2.2rosenthals.com with esmtp (Exim 4.96) (envelope-from ) id 1rTNQv-0005as-0K for ecs-isp@2rosenthals.com; Fri, 26 Jan 2024 09:43:57 -0500 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_8BIT 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 0.000000, SENDER_NO_AUTH 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, URI_ENDS_IN_PHP 0.000000, __ANY_URI 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CP_URI_IN_BODY 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_MONEY_BIG_COIN 0.000000, __FRAUD_MONEY_BIG_COIN_DIG 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __HIGHBIT_ASCII_MIX 0.000000, __HTTPS_URI 0.000000, __INVOICE_MULTILINGUAL 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __MULTIPLE_URI_TEXT 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_COMPR_DIR_NAME 0.000000, __PHISH_PHRASE1_A 0.000000, __PHISH_SPEAR_STORAGE_LIMIT2 0.000000, __PHISH_SPEAR_SUBJECT 0.000000, __PHISH_SPEAR_SUBJ_ALERT 0.000000, __PHISH_SPEAR_SUBJ_SUBJECT 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_HAS_HYPHEN_USC 0.000000, __URI_IN_BODY 0.000000, __URI_MAILTO 0.000000, __URI_NOT_IMG 0.000000, __URI_NS 0.000000, __URI_WITHOUT_PATH 0.000000, __URI_WITH_PATH 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.1.26.140915 X-SASI-Hits: BODY_SIZE_3000_3999 0.000000, BODY_SIZE_5000_LESS 0.000000, BODY_SIZE_7000_LESS 0.000000, CTE_8BIT 0.000000, HTML_00_01 0.050000, HTML_00_10 0.050000, IN_REP_TO 0.000000, LEGITIMATE_SIGNS 0.000000, MSGID_SAMEAS_FROM_HEX_844412 0.100000, MSG_THREAD 0.000000, REFERENCES 0.000000, REPLYTO_SAMEAS_FROM 0.000000, SUSP_DH_NEG 0.000000, TO_IN_SUBJECT 0.500000, URI_ENDS_IN_PHP 0.000000, __ANY_URI 0.000000, __AUTH_RES_PASS 0.000000, __BODY_NO_MAILTO 0.000000, __BOUNCE_CHALLENGE_SUBJ 0.000000, __BOUNCE_NDR_SUBJ_EXEMPT 0.000000, __CP_URI_IN_BODY 0.000000, __CT 0.000000, __CTE 0.000000, __CT_TEXT_PLAIN 0.000000, __DQ_NEG_DOMAIN 0.000000, __DQ_NEG_HEUR 0.000000, __DQ_NEG_IP 0.000000, __FORWARDED_MSG 0.000000, __FRAUD_MONEY_BIG_COIN 0.000000, __FRAUD_MONEY_BIG_COIN_DIG 0.000000, __FROM_DOMAIN_NOT_IN_BODY 0.000000, __FROM_NAME_NOT_IN_ADDR 0.000000, __FROM_NAME_NOT_IN_BODY 0.000000, __FUR_HEADER 0.000000, __HAS_FROM 0.000000, __HAS_MSGID 0.000000, __HAS_REFERENCES 0.000000, __HAS_REPLYTO 0.000000, __HEADER_ORDER_FROM 0.000000, __HIGHBIT_ASCII_MIX 0.000000, __HTTPS_URI 0.000000, __INVOICE_MULTILINGUAL 0.000000, __IN_REP_TO 0.000000, __MAIL_CHAIN 0.000000, __MIME_BOUND_CHARSET 0.000000, __MIME_TEXT_ONLY 0.000000, __MIME_TEXT_P 0.000000, __MIME_TEXT_P1 0.000000, __MIME_VERSION 0.000000, __MOZILLA_USER_AGENT 0.000000, __MSGID_HEX_844412 0.000000, __MULTIPLE_URI_TEXT 0.000000, __NO_HTML_TAG_RAW 0.000000, __PHISH_COMPR_DIR_NAME 0.000000, __PHISH_PHRASE1_A 0.000000, __PHISH_SPEAR_STORAGE_LIMIT2 0.000000, __PHISH_SPEAR_SUBJECT 0.000000, __PHISH_SPEAR_SUBJ_ALERT 0.000000, __PHISH_SPEAR_SUBJ_SUBJECT 0.000000, __REFERENCES 0.000000, __REPLYTO_SAMEAS_FROM_ACC 0.000000, __REPLYTO_SAMEAS_FROM_ADDY 0.000000, __REPLYTO_SAMEAS_FROM_DOMAIN 0.000000, __SANE_MSGID 0.000000, __SCAN_D_NEG 0.000000, __SCAN_D_NEG2 0.000000, __SCAN_D_NEG_HEUR 0.000000, __SCAN_D_NEG_HEUR2 0.000000, __SUBJ_ALPHA_END 0.000000, __SUBJ_ALPHA_NEGATE 0.000000, __SUBJ_REPLY 0.000000, __TO_IN_SUBJECT 0.000000, __TO_MALFORMED_2 0.000000, __TO_NAME 0.000000, __TO_NAME_DIFF_FROM_ACC 0.000000, __TO_REAL_NAMES 0.000000, __URI_HAS_HYPHEN_USC 0.000000, __URI_IN_BODY 0.000000, __URI_MAILTO 0.000000, __URI_NOT_IMG 0.000000, __URI_NS 0.000000, __URI_WITHOUT_PATH 0.000000, __URI_WITH_PATH 0.000000, __USER_AGENT 0.000000 X-SASI-Probability: 10% X-SASI-RCODE: 200 X-SASI-Version: Antispam-Engine: 5.1.4, AntispamData: 2024.1.26.140915 Received: from [192.168.10.199] (dtp [192.168.10.199]) by srv2 (Weasel v2.849) for ; Fri, 26 Jan 2024 15:43:45 Reply-To: ml@ecomstation.it Subject: Re: [eCS-ISP] RoundCube webmail 1.4 or 1.5 php issue To: eCS ISP Mailing List References: <381f7d1e-df01-4889-ab69-ababaeb2256b@smedley.id.au> Organization: eComStation dot it Message-ID: <10e60e5c-1732-b4a9-c8d7-c672033e20f3@ecomstation.it> Date: Fri, 26 Jan 2024 15:43:41 +0100 User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; it-IT; rv:1.7.13) Gecko/20060424 Thunderbird/1.0.8 Mnenhy/0.7.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it-IT Content-Transfer-Encoding: 8bit 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) > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= >