Project

General

Profile

Actions

Feature #26197

open

Update PHP from 8.2.x

Added by Boone Gorges 3 days ago. Updated 3 days ago.

Status:
New
Priority name:
Normal
Assignee:
Category name:
Server
Target version:
Start date:
2026-11-24
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

The Commons currently runs version PHP 8.2.x. The 8.2 series goes out of security support this year, so we should update ASAP.

I think that we should consider an update all the way to the 8.5.x series. In my experience handling PHP for various clients, each of the intermittent updates (8.2->8.3, 8.3->8.4, 8.4->8.5) is fairly negligible. We can run some automated scans, some using PHPCompatibility and some using AI tools, to look for problem spots beforehand.

Ray and Jeremy, do you have any objections about going directly to 8.5? Once we have consensus, I'll start the conversation with Reclaim to talk about what a timeline might look like, and whether meaningful downtime is required (I'm guessing not).


Related issues

Related to CUNY Academic Commons - Bug #26189: Contact Form 7 v6.2.x requires PHP 8.3Resolved2026-11-24

Actions
Actions #1

Updated by Boone Gorges 3 days ago

  • Related to Bug #26189: Contact Form 7 v6.2.x requires PHP 8.3 added
Actions #2

Updated by Jeremy Felt 3 days ago

Big thumbs up from me. I can start scanning for compat concerns, which should be much nicer this time around.

Actions #4

Updated by Raymond Hoh 3 days ago

Jeremy last looked into upgrading to PHP 8.5 in https://redmine.gc.cuny.edu/issues/25919#note-9. PHP 8.4 introduces a fatal error for the newsletters-lite plugin, but that shouldn't be too hard to mitigate: https://redmine.gc.cuny.edu/issues/25919#note-11.

Actions #5

Updated by Boone Gorges 3 days ago

Thanks, guys. I've sent a feeler to Reclaim to understand what kind of leadtime they need to schedule an upgrade.

Jeremy, to reduce duplicate efforts, can you generate an updated and improved upgrade report? The previous one was more of a high-level feasibility scan, but ideally we'd have a bit more of a checklist. The "grief" listing is still helpful, because while it's helpful to get info about deprecation notices in third-party tools, there's no way we're going to resolve them. The scan will also need some new starting parameters, because (a) we're now running 8.2.x, and (b) we're not using wp-redis anymore, but have switched to memcached, using the PHP package provided by the litespeed-cache plugin.

Actions

Also available in: Atom PDF