Author Topic: Roundcube update not working due to php version of cwpsrv  (Read 555 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Roundcube update not working due to php version of cwpsrv
« on: June 01, 2022, 08:42:48 PM »
Have been following this to check and update roundcube: https://www.awsmonster.com/2018/11/cwp-how-to-check-roundcube-all.html

When running the webmail installer I get this error message relating to the php used by roundcube:
Quote
Checking PHP version
Version:  NOT OK(PHP Version 7.3.0 or greater is required 7.2.30 detected)

7.2.30 is indeed the version used by cwpsrv and roundcube, which checks out with the bash:
Code: [Select]
/usr/local/cwp/php71/bin/php -v
which confirms:
Quote
PHP 7.2.30 (cli) (built: Apr 29 2020 02:29:42) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
    with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.

I can't work out how to get cwpsrv to use a later version of php (I am using FPM selector for my domains that are using php versions 7.3 to 8.1)

Help please!



Offline
****
Re: Roundcube update not working due to php version of cwpsrv
« Reply #1 on: June 04, 2022, 04:26:29 PM »
Cwpsrv has it's own fpm.  the service is called cwpsrv-phpfpm and cwp-phpfpm  They use /usr/local/cwp/php71 (It's actually 7.2).  I'm working on an update for you, but work 60 hours a week, so not a lot of time

Google Hangouts:  rcschaff82@gmail.com

Offline
*
Re: Roundcube update not working due to php version of cwpsrv
« Reply #2 on: July 29, 2022, 09:39:22 AM »
I wanted to update roundcube to 1.6 but roundcube requires a minimum php 7.3 version. Unfortunately version 1.5.3 is the last one working.