PANE

Sysadmins face compatibility issues upgrading PHP versions

10 posts across 5 communities in the last 60 days; 40% from r/sysadmin.

“Some web hosts have applied the fix to all of the PHP versions they support. If you can access a phpinfo() page for your site, check the build date. [re: How do I make sure my sites are safe amid all the PHP vulnerabilities?]”
r/sysadmin
“It would be easier to containerize the PHP application, and you'll save your time from testing and fixing the compatibility issue in the app caused by the PHP upgrade. You can focus on the underlying system upgrade and later if it's the time to do PHP upgrade, do that too”
r/sysadmin
“To many companys do not have this set up. Im getting sick of it”
r/sysadmin

System administrators are encountering challenges when upgrading PHP versions, particularly when jumping multiple major releases. They recommend gradual upgrades and containerization to mitigate potential compatibility problems.

sysadminphpos-upgradecompatibilitycontainerization
FIT
0%
SIGNAL
66%
SOURCES20
FRESHEST POST23D AGO
TRACKED SINCE98D AGO

SOURCES (20)

“that's a solid point about the php versions, definitely something to consider with older client bases. [re: 12 years bootstrapping a software company from Bangladesh. Here's the journey so far.]”

r/EntrepreneurRideAlong23d ago

“Getting an ancient production environment onto PHP 8.2 without everything falling apart is a win lol [re: After years of living in legacy hell, we finally upgraded production to PHP 8.2. Am I safe to sleep now, or is the server going to combust tomorrow?]”

r/webdevOct 27

“I'm trying to update a docker wordpress container to include php8.4.27 from ppa:ondrej/php”

FORUMOct 26

“So, after surviving an eternity on older versions (y'all know the pain), we finally pushed the button and upgraded our core production environment to PHP 8.2.35. It took an entire day because the underlying Linux distros were so ancient we practically had to rebuild half the ecosystem from scratch. Now looking at the metrics and logs, I'm torn between two feelings: Pure joy of actually getting to write modern code in the 8.x branch. Absolute dread waiting for the next midnight critical C”

r/webdevOct 26

“Some web hosts have applied the fix to all of the PHP versions they support. If you can access a phpinfo() page for your site, check the build date. [re: How do I make sure my sites are safe amid all the PHP vulnerabilities?]”

r/sysadminOct 26

“Yup. We've got a server on 7.4.33 (soon to finally be upgraded to 8.5!) but with the help of sury.org's patch we were back with full functionality by 1900UTC on Wednesday. [re: PHP2Shell: the useful question isn't "are we patched", it's "where is PHP actually running in our environment"]”

r/sysadminOct 23

“Had an old php (7.4), updated to 8.5 with Sury repository, soon to discover that roundcube and nextcloud were too old for that. So back again to 8.2, and 13 nextcloud upgrades later, here we are with a patched 8.5. [re: PHP2Shell]”

r/sysadminOct 23

“Quickest way: check which PHP version each app actually runs, then compare it with the patched releases. 1. Find the PHP version per app. Run php -v on the host, and inside each container run docker exec <container> php -v . A temporary phpinfo() page also works, but delete it right after. 2. Compare with the fixed releases. PHP fixed both CVEs in 8.5.12, 8.4.27, 8.3.36 and 8.2.35 . If you're below the fixed release for your branch, assume you're affected. If your distro backports”

r/selfhostedOct 22

“I think after they push a new PHP version they'll talk more about it. [re: Upcoming PHP core RCE vulnerability patches (CVE-2026-109618 & CVE-2026-109619)]”

r/sysadminOct 21

“I'm so stumped on why people are still using outdated PHP versions man. [re: Upcoming PHP core RCE vulnerability patches (CVE-2026-109618 & CVE-2026-109619)]”

r/sysadminOct 21

“This is not a full fix! Says a PHP developer. You need to update! [re: PSA: Upcoming Critical PHP Security Release]”

r/webdevOct 21

“What. My company is still on php 5.6 so I'm just as stuck as ever. Also, the company is shutting down in November, so fuck it. Time to patch the old home server! [re: PHP warns it plans to release 2 emergency patches imminently. Unconfirmed report claims PHP2Shell exploit remotely executes code on PHP sites.]”

r/selfhostedOct 21

“I run a few VPS with webapps on them (Coolify + Docker). I'm a developer, not a sysadmin, and every time I think about updating the host OS I find a reason to do it next week instead. Last time I did it, a service came back up but one container didn't, and I found out days later because nobody complained immediately. Since then I mostly just don't touch them, which I know is worse. So, genuinely curious how other people handle this: do you update the host at all, or run it until the”

r/selfhostedSep 14

“Hope everything will go smoothy but you can alwys consider moving pages to separate docker containers with dedicated PHP. This is what i would do. That way you can update the OS independent of the containers as upgrading from 7.3 to 8+ can (and has IME) caused issues with propitiatory code bases.”

r/sysadminAug 27

“It would be easier to containerize the PHP application, and you'll save your time from testing and fixing the compatibility issue in the app caused by the PHP upgrade. You can focus on the underlying system upgrade and later if it's the time to do PHP upgrade, do that too”

r/sysadminAug 27

“To many companys do not have this set up. Im getting sick of it”

r/sysadminAug 27

“Many years ago, I got conscripted to help a family member’s small business do basically the same thing (except it was CentOS 7 which had PHP 5.3 or 5.4 I think. What I ended up doing was installing Docker on the server, and slowly Dockerising the PHP apps (one by one). Every time I did one, I’d just change the Apache virtualhost config to reverse-proxy to the Docker container rather than serving the page itself. Then, when there weren’t any apps left on the server itself, I dockerised the revers”

r/sysadminAug 27

“Hope everything will go smoothy but you can alwys consider moving pages to separate docker containers with dedicated PHP.”

r/sysadminAug 27

“I would avoid making two big changes at once. Upgrade PHP gradually, test every site properly, then handle the OS upgrade. Jumping 7.3 to 8.4 could expose a lot of hidden compatibility issues later.”

r/sysadminAug 27

“I have a virtual server that runs a few websites and I can meddle in IT but by no means an expert. The sites all different but do similar things and run similar php code. I am currently on Almalinux 8 and php 7.3 and I am looking to upgrade both. I wish to upgrade to Almalinux 9 but this does not run php 7.3. My initial plan was the update php from 7.3 to 8.0 (the highest Almalinux 8 goes to) using Rector site by site. Once all confirmed I would then update Almalinux 8 to Almalinux 9 using Eleva”

r/sysadminAug 27

SOLUTION LANDSCAPE

Brought to you byTop Sectors

A Player feature.See how many ways this pain can be solved, who's already building, and where the gaps are.

Related panes

/ same corner of the problem