Composer error message

Ask your questions here.
Post Reply
manonatelier
Posts: 7
Joined: 16 Mar 2024, 21:11
Name: Manon Michel
Location: Stroudsburg PA USA
Company Name: Manon Etc
Contact:

Composer error message

Post by manonatelier »

Getting this message:
"Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2"."

My server's PHP version is 8.1.

As per your instructions https://docs.rukovoditel.net/index.php?p=63 I replaced the files from 3.4 to 3.5.

Then ran autoupdates for:
http://my.domain/install/autoupdate/from_3.4_to_3.5.php
http://my.domain/install/ext_autoupdate ... to_3.5.php

But I'm still getting the above message about Composer.

Is there something I'm missing?
User avatar
support
Site Admin
Posts: 6216
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Composer error message

Post by support »

Composer use PHP_VERSION_ID variable to check php version. Code example is:

Code: Select all

if (!(PHP_VERSION_ID >= 80002)) {
    $issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.2". You are running ' . PHP_VERSION . '.';
}
Ask your hosting support why this part of code not working.
manonatelier
Posts: 7
Joined: 16 Mar 2024, 21:11
Name: Manon Michel
Location: Stroudsburg PA USA
Company Name: Manon Etc
Contact:

Re: Composer error message

Post by manonatelier »

Ok, so I changed it from PHP version 8.1 to 8.3 and now it works.

Thank you anyway.
Post Reply