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?

Hello @enoch85,

have to bothering you again.

Is it ok to upgrade ubuntu or better using ppa:ondrej/php ?

Cheers and merry christmas :christmas_tree:

You can do both Ondrejs PPA and do-release-upgrade.

As long as you know Linux both are easy.

Merry Christmas btw :slight_smile:

1 Like

Hello,

banned MS in 1998 off my home and using *unix systems for private :slight_smile:

Did a do-release-upgradeand the trouble started. It was really a hard one.
Nearly no apache module was migrated and fpm is a beast, at least for me.
Had to adjust a few other things like pecl (php-pear). Good to have a copy of /etc.
Miss my Araxis Merge from work :frowning: So much quicker to compare and merge stuff than using the shell.

Now it works again, redis is still bitching but that is ok for today.

So, cannot wait to give NC 21 a try :rocket: