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?
Composer error message
-
- Posts: 7
- Joined: 16 Mar 2024, 21:11
- Name: Manon Michel
- Location: Stroudsburg PA USA
- Company Name: Manon Etc
- Contact:
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Composer error message
Composer use PHP_VERSION_ID variable to check php version. Code example is:
Ask your hosting support why this part of code not working.
Code: Select all
if (!(PHP_VERSION_ID >= 80002)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 8.0.2". You are running ' . PHP_VERSION . '.';
}
-
- Posts: 7
- Joined: 16 Mar 2024, 21:11
- Name: Manon Michel
- Location: Stroudsburg PA USA
- Company Name: Manon Etc
- Contact:
Re: Composer error message
Ok, so I changed it from PHP version 8.1 to 8.3 and now it works.
Thank you anyway.
Thank you anyway.