JazzG
Been meaning to check this whole thing about posting x.com links out for a little bit but I was too busy.
I don't really use (or know anything about) PHP or Composer, but I followed some advice from the Flarum guy and did the following:
- Reviewed the version required for the underlying Composer package which is
s9e/text-formatter
and the required commit which belongs to version 2.14.1 of the package
- Logged into cPanel via the long ago admin access @Pepe LeFrits gave me
- Checked Flarum supports PHP 8+ okay
- Changed the forums to run PHP 8.1 because version 8 was the minimum compatible version, and checked the forum had not fallen over
- Set up an SSH key so I could log in and fuck around
- Ran
composer update s9e/text-formatter
which provided a text confirmation the correct version was now in place
- Ran
php flarum cache:clear
which blew away the server-side cache of static assets and whatnot
Basically just hacking production (I did try everything bar the PHP version change in a non live version of the forums though), but I think it worked, if you notice anything odd or bad, let me know.