Two issues upgrading this server from Debian buster to bullseye:
- The new PHP version (v8.2) wasn’t automatically enabled as part of the upgrade. Apache would return static pages but any PHP files (e.g. WordPress) would just return a “Firefox can’t establish a connection to the server… ” error.
I had to manually run:sudo a2enmod php8.2 - MediaWiki threw errors on every page with a “no page created” message (sorry, didn’t note the exact error). This was fixed by running the usual MediaWiki upgrade script:
php /usr/share/mediawiki/maintenance/update.php