Level 11
Craft Dev here!..2years later, I've ran into this before and at times it seems its looking for the PHP version in Docker, I'd also check your composer.json as well.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
when I run: ddev start craft I get: Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.30. in /var/www/html/vendor/composer/platform_check.php on line 24
on my machine there is no path /var/www
I have tried everything
php -v I get: PHP 8.1.8
I'm assuming it's looking at the php version in Docker?? I don't like docker haven't used it much
Please or to participate in this conversation.