Similar to T372507: Prepare WMF PHP 8.1 packages for Bullseye, we need to prepare our own rebuilds of PHP 8.3 and required extension packages for Debian bullseye.
While the process is similar, one point of note is that we'll want to start by creating component/php83 and including our PCRE2 backport from bookworm (see T386006), then using said component during the core PHP build.
Current status:
All packages have been built at the versions listed in T398245#10965108 and included in component/php83.
The status of tideways and xhprof are summarized in T398245#11007399 and T398245#11009216. In short:
- It's unclear whether tideways will work as expected on 8.3, though we are able to build it such that it passes its unit tests with light modifications (T398245#11011498).
- Instead, xhprof is the recommended maintained alternative, though some work will be necessary to verify that it works for our use case and make the necessary adjustments (e.g., in mediawiki-config).
We are proceeding as follows:
- MediaWiki Engineering is verifying that xhprof works as expected for our use case in T400109: Ensure MediaWiki-Core-Profiler works with php-xhprof 2.x (PHP 8.3) (T398245#11022276).
- Although xhprof is not yet included in debian, packages are maintained by the PHP Team at https://salsa.debian.org/php-team/pecl/php-xhprof (and are available on sury.org). I have reviewed the package source code (2.3.10-1) and have no concerns. Packages for 2.3.10 have been built and included for both PHP 8.1 and 8.3 to facilitate the transition.
- In parallel, I've included the (patched) 8.3 tideways packages in component/php83 for testing as a potential backup plan if needed (they may not be).