PHP Upgrade (Nextcloud)
-
When upgrading PHP from Version 7.2 to 7.3 to meet the requirements of Nextcloud - Is there a preferred method to doing this as it relates to NC? I know going from the current version (19.x) to (20.x) will require it. It has been a while since I have done a PHP upgrade and don't want to cause any issues. I do not remember the version change that required upgrades to PHP the last time.
-
Are you on a distro with poor PHP choices (CentOS)?
How are you getting PHP 7.2 in the first place?
-
@brandon220 said in PHP Upgrade (Nextcloud):
When upgrading PHP from Version 7.2 to 7.3 to meet the requirements of Nextcloud
We've had NextCloud on 7.4 for a while now.
-
@brandon220 said in PHP Upgrade (Nextcloud):
Is there a preferred method to doing this as it relates to NC?
No,in all cases, you stop it, updated PHP, you start it. That's it.
-
@brandon220 said in PHP Upgrade (Nextcloud):
I do not remember the version change that required upgrades to PHP the last time.
We always push to keep PHP as up to date as possible because it tends to bring security and performance improvements.
-
@JaredBusch Fedora Server. Just taking a wild guess now, but it may still be on 29. That may be the issue. It does not belong to me (server or NC instance). A friend of mine had a question about sharing permissions and had me log in as them. I noticed it was on 19 but had php warnings. Will probably end up helping them fix it.
I don't remember having to manually upgrade php on any of my NC installs which are all on F32 now but started out on 27??
-
@scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.
-
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.
You don't have to. Being stuck on 29 is likely the problem.
-
@JaredBusch That is very logical. That is a good reason that I don't remember manually upgrading.
-
@brandon220 said in PHP Upgrade (Nextcloud):
Just taking a wild guess now, but it may still be on 29.
That's just a bit behind, lol.
-
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller I just don't remember having to "manually" upgrade PHP when upgrading to new releases of Fedora. Not saying I didn't have to do it that way. Just do not recall.
Yeah, it's automatic with the OS update.
-
@brandon220 said in PHP Upgrade (Nextcloud):
@JaredBusch That is very logical. That is a good reason that I don't remember manually upgrading.
I know Ubuntu 20.04 is PHP 7.4
-
@scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.
-
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.
We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.
-
@scottalanmiller said in PHP Upgrade (Nextcloud):
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.
We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.
I don't care. I will still not use it. I'll do Debian in place of an Ubuntu server.
-
@scottalanmiller I only have Fedora Workstation on everything I use with the exception of 1 machine that has W10 for my cable certification software. Haven't loaded Ubuntu (desktop) in a long time. Seems like there is currently too much extra "bloat" that I am trying to avoid.
@JaredBusch Fedora has been too stable for me to change to anything else. It just works. While there is more info out there for Ubuntu than Fedora if you need support or help - still not worth changing IMO.
-
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller I only have Fedora Workstation on everything I use with the exception of 1 machine that has W10 for my cable certification software. Haven't loaded Ubuntu (desktop) in a long time. Seems like there is currently too much extra "bloat" that I am trying to avoid.
@JaredBusch Fedora has been too stable for me to change to anything else. It just works. While there is more info out there for Ubuntu than Fedora if you need support or help - still not worth changing IMO.
You can install Ubuntu Desktop minimal install instead of the normal installation. Either one will still have snapd installed.
-
@brandon220 also why change? I use both Ubuntu (Desktop/Server) and Fedora (Desktop/Server).
-
@scottalanmiller said in PHP Upgrade (Nextcloud):
@brandon220 said in PHP Upgrade (Nextcloud):
@scottalanmiller What made you switch your workloads to Ubuntu as you were a Fedora user for a long while? I've noticed you reference Ubuntu a lot lately.
We use both. Still loads of Fedora. We've started finding that Ubuntu just has so much more desktop focus and many server apps are testing on, designed for, or whatever with Ubuntu. They've come a long way.
Nope, things have been like that for quite a long time. I put up with Debian and hold my nose with Ubuntu.
-
If you run it with a container image, the PHP version should be always up to date and you don't need to rely on your host OS to maintain that. Makes management quite a bit easier.