PHP versiyon error

Started by mdenizli, March 04, 2023, 07:21:24 PM

Previous topic - Next topic

mdenizli

Hello,

CWP PRO
PHP version: 7.1.4 Forced PHP-FPM: 7.2
Web Servers: nginx-only
Distro Name: CentOS Linux release 7.9.2009 (Core)


roundcube 1.6.1 wants on php 7.3 version to run. I am installing 7.4.0 from PHP version selector. It shows 7.4.0 in Centos Web Panel. Php 7.4.0 appears when I type php -v command after SSH connection.

But I send a file to the server <?php phpinfo(); When I put ?> it shows 7.2.30 and roundcube doesn't accept it because php version is low.

How can I solve this problem?

overseer

Where are you installing Roundcube? Under a vhost running the version of PHP (7.4) that meets the requirements? Or are you trying to update the CWP version of Roundcube?

mdenizli

Quote from: overseer on March 04, 2023, 08:29:41 PM
Where are you installing Roundcube? Under a vhost running the version of PHP (7.4) that meets the requirements? Or are you trying to update the CWP version of Roundcube?

/usr/local/cwpsrv/var/services/roundcube

It was already installed here. It had version 1.4. I updated to version 1.5. But now when I want to install 1.6.1, PHP 7.2.3 sees it and does not install it.

overseer

Anything under /usr/local/cwpsrv runs under CWP's custom, untouchable PHP 7.2 (labeled as PHP 7.1). You have to install elsewhere to have control over it.