This version of Nextcloud requires at least PHP 7.3
You are currently running 7.2.24. Please update your PHP version.
我卸载了以前的php,在我的vps上安装了php7.4
[root@vultr ~]# php -v
PHP 7.4.23 (cli) (built: Aug 24 2021 16:33:30) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.23, Copyright (c), by Zend Technologies
但在浏览器中输入我的ip,还是会提示我的在运行7.2.24 ,我在nextcloud论坛找到了有人提出的相同问题,他们的回复是
Nothing is going wrong here, but you’re mixing-up two different things. In general two different PHP components are involved here, the web server and the command line component. You’ve only tested the command line (CLI) component. You need to update the web component now too to align both versions.
说php有两个不同的东西,一个是命令行,一个是服务器端,我现在安装升级的只是cli,还要升级web server上的php到更高版本,所以问题是web server的php到底怎么升级呢??