our Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.30.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.30.
our Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.30.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.1.0". You are running 7.4.30.
3
Answers
I have solved the issue by changing the following code from vendor/composer/platform_check.php
if (!(PHP_VERSION_ID >= 80100)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.'; }
To
if (!(PHP_VERSION_ID >= 70400)) { $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.'; }
Update your PHP version to 8.1.0 or use an earlier build of octoberCMS that supports php version 7.4.30
i had the same error, and when i checked php version with "php -v" there didn’t seem to be a problem (higher than required and than the version supposedly ran in the error), I then realized that it was my wamp server that ran a lower version of php. i didn’t have tu upgrade anything it was just a parameters problem. So i changed in two clic the version that my software was running and that was fixed. I hope that will help someone.