I want to update my php version from 7.2 to 7.4 on a LEMP based system (Ubuntu 18.04, NC 18.0.7, mysql 10.1.44).
I already installed the packages as mentioned in the second chapter of this guide : https://www.c-rieger.de/nextcloud-installationsanleitung/
works fine,
but i still have to change the php version in nginx… How can i do that?
In apache it was something like:
a2dismod php7.2
a2enmod php7.4
Could you please post the content of your nginx configuration file.
I assume the fastcgi_pass entry or server entry refers still to the php7.2 fpm socket.
That is ok. But every version of software has got system requirements. I think with Nextcloud 20 the Nextcloud GmbH changes recommendation from Ubuntu 18.04 LTS to 20.04 LTS.
For Nextcloud 19 the recommended php versions 7.3 and 7.4 are not in the standard ubuntu 18.04 LTS repository.
Yes. And that is ok. But Ubuntu is not Windows XP with a release time of +10years and all DLLs are changed in release time. Ubuntu has got a 2 year release time and after 2 years you get all new packages like php-version 7.4. Perhaps with Nextcloud 20 and Ubuntu 18.04 LTS you must change much more packages like Windows XP style.
And yes. You have 2 years time to change from Ubuntu 18.04 LTS to 20.04 LTS if there is no problem with the software you want to use on the Ubuntu platform. But normally if you only have one software (or one service like Nextcloud with nginx and MariaDB) on your server and not thousands of servers you can change early.