• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Urgent can´t access to any panel Onix with Debian 8

SalvadorS

Regular Pleskian
Hello,

Today in all my plesk onyx panels with Debian 8 (php 7.3 max) I received this error:

Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0"

And I can´t access to the panels. php version in these servers are 7.3 as it is impossible to install 7.4

Wait an answer

Regards
 
Hi, I ran into de same issue today, here's how I fixed it.

- SSH to the server
- Make yourself root ("sudo su -")
- Type "cd /var/log/plesk"
- Type "cat panel.log"
- Look for something like this

"[2023-06-22 09:20:01.898] ERR [panel] PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0". You are running 7.3.25.; File: /opt/psa/admin/plib/modules/sectigo/vendor/composer/platform_check.php, Line: 24"

- Edit the file "/opt/psa/admin/plib/modules/sectigo/vendor/composer/platform_check.php" and comment line 8

"
if (!(PHP_VERSION_ID >= 70400)) {
// $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}
"

Hope this helps
 
I fixed the issue following this steps:

this time is due to sectigo extension

/usr/local/psa/admin/plib/modules/sectigo/vendor/composer/platform_check.php
just changed (!(PHP_VERSION_ID >= 70400)) to (!(PHP_VERSION_ID >= 70100))
 
Back
Top