• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Resolved I can't log in: Composer detected

musghs

New Pleskian
Server operating system version
CentOS Linux 7
Plesk version and microupdate number
18.0.50
Hi,
Since this morning I can no longer access the system. This error comes out:
- Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".

I tried from SSH the following commands but nothing:
/opt/plesk/php/8.1/bin/php /usr/lib64/plesk-9.0/composer.phar install

Response:
Composer could not find a composer.json file in /root
To initialize a project, please create a composer.json file. See Basic usage - Composer
 
if I run the command:
plesk bin extension --disable monitoring
Composer detected issues in your platform:
Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33.
PHP Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.33. in /usr/local/psa/admin/plib/vendor/composer/platform_check.php on line 24
exit status 255
 
For now, I am using a work around that at least grants me access to the web interface again:

1. Disable composer
plesk bin extension --disable composer

2. Restart plesk (see plesk docs)
service sw-engine restart && service sw-cp-server restart
 
In our case it was a Plesk component that updated called "catalog" with a minimum requirement not met by our older Plesk version.

A work around for this is to edit: /opt/psa/admin/plib/modules/catalog/vendor/composer/platform_check.php

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

Reducing the version requirement gets the panel to load again - but be warned this is unsupported hackery and that requirement is most likely intentional.
 
Hi, I'm logging today, 15 June 2023, Plesk Obsidian 18.0.41 and I get the error:
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2".

I tried the: plesk bin extension --disable monitoring

And it didn't work. Also trying to disable composer and it says it's not installed. Can I get some help?
 
Back
Top