From cfabe4730519502b619fd9284122078ed6fc580b Mon Sep 17 00:00:00 2001 From: Riddhesh Sanghvi Date: Wed, 18 Nov 2026 16:15:08 +0530 Subject: [PATCH 1/2] fix(restore): drop the deprecated session ID settings from a restored php.ini on PHP 8.4+ A backup taken before v4.14.0 holds a php.ini with session.sid_length and session.sid_bits_per_character. The v4.14.0 migration removed them from the php.ini of PHP 8.4 and 8.5 sites, because PHP 8.4 deprecates them, but it doesn't run again: restoring such a backup onto a PHP 8.4+ site brought them back, and the site logged the deprecation until the file was edited by hand. The restore now removes them while it writes the php.ini, with the same rules as the migration: the shipped comments go with them, every other line stays byte for byte, and a file where removing them would change any other setting is restored as it is, with a warning. The php.ini from the backup is saved under the backup dir (session-sid-settings-