I tried to update flarum to v1.8.5
(on my clone site)
Using the following codes:
php composer.phar update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear
I get this white screen of death error message:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0".
My dreamhost panel still shows I am using PHP version 8.0 and I have a drop down to change to 8.2.
However I am not sure what codes would I need to add once I do this?
luceos taught me how to upgrade PHP 7.4
to PHP 8.0
here but do I use his same codes to upgrade to PHP 8.2.0
?
I.E
STEP 1: Use VPS control panel to change PHP version to 8.2.0
STEP 2: Run these codes:
composer update --prefer-dist --no-dev -a
php81 composer update --prefer-dist --no-dev -a
Flarum information
[vps38847]$ php flarum info
Flarum core: 1.8.5
PHP version: 8.2.12
MySQL version: 8.0.28-0ubuntu0.20.04.3
Loaded extensions: Core, date, libxml, pcre, sqlite3, filter, hash, intl, json, mbstring, SPL, session, PDO, pdo_sqlite, random, Reflection, standard, mysqlnd, bcmath, bz2, calendar, ctype, curl, dom, exif, fileinfo, ftp, gd, gettext, iconv, imap, mysqli, openssl, pcntl, pdo_mysql, zlib, posix, pspell, sodium, SimpleXML, soap, sockets, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, Phar, imagick
+-------------------------------+---------+--------+
| Flarum Extensions | | |
+-------------------------------+---------+--------+
| ID | Version | Commit |
+-------------------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| the-turk-stickiest | 3.0.1 | |
| rob006-last-post-avatar | 1.2.4 | |
| migratetoflarum-old-passwords | 1.0.0 | |
| fof-polls | 1.4.2 | |
| fof-nightmode | 1.5.3 | |
| fof-links | 1.2.1 | |
| fof-forum-statistics-widget | 1.2.1 | |
| fof-formatting | 1.0.3 | |
| flarum-suspend | v1.8.1 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
+-------------------------------+---------+--------+
Base URL: https://www.XXX.com/discuss
Installation path: /home/XXX/XXX.com/discuss
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: off
[vps123]$