My Terminal is showing i have php 8 version -
PHP 8.0.28 (cli) (built: Feb 20 2023 12:43:04) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.28, Copyright (c) Zend Technologies
Then why still this error -
Screenshot - https://prnt.sc/43NCliwJXkUP
Your requirements could not be resolved to an installable set of packages.
Problem 1
- acpl/flarum-lscache is locked to version v1.0.0 and an update of this package was not requested.
- acpl/flarum-lscache v1.0.0 requires php >=8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 2
- fof/geoip is locked to version 1.1.0 and an update of this package was not requested.
- fof/geoip 1.1.0 requires php ^8.0 -> your php version (7.4.33) does not satisfy that requirement.
Problem 3
- symfony/mailer is locked to version v6.0.19 and an update of this package was not requested.
- symfony/mailer v6.0.19 requires php >=8.0.2 -> your php version (7.4.33) does not satisfy that requirement.
Problem 4
- laminas/laminas-diactoros 2.24.0 requires php ~8.0.0 || ~8.1.0 || ~8.2.0 -> your php version (7.4.33) does not satisfy that requirement.
- flarum/core v1.7.2 requires laminas/laminas-diactoros ^2.4.1 -> satisfiable by laminas/laminas-diactoros[2.24.0].
- flarum/core is locked to version v1.7.2 and an update of this package was not requested.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require fof/sitemap:*" to figure out if any version is installable, or "composer require fof/sitemap:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.