I'm running PHP 8.2 (anything less and I got a Flarum error saying that 8.2 was required).
I have only every used FTP to install forums before (phpbb, smf) and I'm really scratching my head when Composer command line stuff keeps getting mentioned. I'm trying to figure it out, but even the download page from the official Composer site assumes that I know how/where to enter commands at the command line and doesn't explain it. Could I get a little help?
I DLed PuTTy, managed to SSH into my host and have navigated to my /forum subdir.
I typed "composer selfupdate" and I got an error message:
[Composer\Downloader\FilesystemException]
Filesystem exception:
Composer update failed: "/usr/local/bin/composer1.phar" could not be written.
rename(/usr/local/bin/composer1.phar): Failed to open stream: Read-only file system
I typed "composer install" anyway to see what would happen. Results:
You are using Composer 1 which is deprecated. You should upgrade to Composer 2, see https://blog.packagist.com/deprecating-composer-1-support/
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/css-selector v7.0.3 -> satisfiable by symfony/css-selector[v7.0.3].
- symfony/css-selector v7.0.3 requires php >=8.2 -> your PHP version (8.1.27) does not satisfy that requirement.
Problem 2
- tijsverkoyen/css-to-inline-styles v2.2.7 requires symfony/css-selector ^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/css-selector[v7.0.3].
- tijsverkoyen/css-to-inline-styles v2.2.7 requires symfony/css-selector ^2.7 || ^3.0 || ^4.0 || ^5.0 || ^6.0 || ^7.0 -> satisfiable by symfony/css-selector[v7.0.3].
- symfony/css-selector v7.0.3 requires php >=8.2 -> your PHP version (8.1.27) does not satisfy that requirement.
- Installation request for tijsverkoyen/css-to-inline-styles v2.2.7 -> satisfiable by tijsverkoyen/css-to-inline-styles[v2.2.7].