skip to Main Content

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


  1. Chosen as BEST ANSWER

    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 . '.'; }


  2. Update your PHP version to 8.1.0 or use an earlier build of octoberCMS that supports php version 7.4.30

    Login or Signup to reply.
  3. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search