Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Software] Upgrade php 7.4.33 to 8

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
espenbo
Posts: 4
Joined: 2017-04-26 19:46
Has thanked: 2 times

[Software] Upgrade php 7.4.33 to 8

#1 Post by espenbo »

Hello

I run debian 11 and nextcloud. It uses php, and I see that PHP 7.4 is end of life.

https://www.php.net/eol.php

But inn the default repositorys is not php8.
Is it safe to stay on php7.4.33 that is the lates version from the debian repositorys?

should I update and add the
https://packages.sury.org/php/bullseye main repository?

Or is it safe to stay on php7.4 with debians packes?

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5343
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: [Software] Upgrade php 7.4.33 to 8

#2 Post by dilberts_left_nut »

Yes, packages in the stable repo get security updates from the Debian Security team.
Stable keeps versions the same from release date (why it is called 'stable') and security fixes are applied to the existing versions, rather than like some other distro's / OS's that just upgrade the version, potentially breaking / changing functionality that you may be relying on.

I would not recommend using foreign repo's.
AdrianTM wrote:There's no hacker in my grandma...

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1395
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 78 times
Been thanked: 173 times

Re: [Software] Upgrade php 7.4.33 to 8

#3 Post by steve_v »

espenbo wrote: 2023-01-30 22:48should I update and add the https://packages.sury.org/php/bullseye main repository?
If you know what at it is you do, and accept that you get to keep all the pieces when it breaks (as it most likely will sooner or later), sure.
If you want things to not break and have no other pressing need for the shiniest new thing, I suggest you stick with packages from the stable repos. Incessant whining from certain webdevs aside, they're neither broken nor insecure.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

espenbo
Posts: 4
Joined: 2017-04-26 19:46
Has thanked: 2 times

Re: [Software] Upgrade php 7.4.33 to 8

#4 Post by espenbo »

Thank you very much for the answer.
Then it's like I thought. As long as I keep up to date with debian's repo's. Then there is no point in upgrading.

Post Reply