How to update php version to at least 7.3 to be ready for NC20?

Hello @enoch85,

I am running a device based on Ubuntu 18.04 with php 7.2.
What is the recommended way to update php version?

You offer a job to do this in your shop.
What are the details of it?

Using packages from ppa:ondrej/php ?

Cheers

btw. are you watching conference?

I am happily looking for answers from anyone not just Daniel :slight_smile:

Basically yes, that’s the right method.

Before anything, as always, if possible do a snapshot of the host, ackup the database and enable maintenance mode on Nextcloud so no clients communicate with the server during the process.

Yes I am! :slight_smile:

Yup, and and a bit more fixing with reinstalling everything that needs reinstalling. But Ondrej’s PPA is correct.

1 Like

My NUC is offering me to upgrade Ubuntu 18.04 LTS to 20.04 LTS.

20.04 LTS comes with v7.4 (according to https://packages.ubuntu.com/focal/php ).

Is it safe to upgrade OS? Has anybody done that?