Bobcares

Your Composer Dependencies Require A PHP Version Plesk | How To Fix It?

by | Feb 26, 2023

Let’s fix the error PHP User Error: Composer detected issues in your platform: Your Composer dependencies require a PHP version in Plesk with this article. At Bobcares, with our Plesk Hosting Support Services, we can handle your Plesk-related issues.

PHP User Error: Your Composer dependencies require a PHP version Plesk

Composer is a program that aids in locating, setting up, and maintaining library packages required by your PHP project. The root directory of the project is where libraries are installed. The Composer tool is a component of Plesk. Composer does not require manual installation in your project. Updates for Composer are installed by Plesk once each week.

The list of modules required for the project is kept in Composer in two files: composer.json and composer.lock. Composer can be used through the command line or through Websites & Domains >> Applications in Plesk.

While trying to log into Plesk, we may sometimes see the below error:

Your Composer dependencies require a PHP version plesk

Or, the below error is being output to the panel.log:

Your Composer dependencies require a PHP version plesk

The error may be because the old Plesk version is in use.

How to fix the error “Your Composer dependencies require a PHP Version in Plesk?”

1. Firstly, try updating the dependencies. So run Websites & Domains >> Applications >> Manage My Applications >> click the application name >> Update Dependencies.

2. We can also try updating the server.

3. Update the Plesk Monitoring extension using the command-line interface to the latest version.

4. If an update is not possible, disable the extension as a solution. In order to do so, connect to the server via SSH. Then Disable the extension:

# plesk bin extension --disable monitoring

[Looking for a solution to another query? We are just a click away.]

Conclusion

To conclude, the article explains the error “Your Composer dependencies require a PHP version” along with some of the ways to fix the error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.