rik
Basic Pleskian
When I run PHP Composer, I get the following message Please help me.
I removed and reinstalled PHP Composer with no change in results.
CentOS Linux 7.7 Plesk Obsidian 18.0.25 Update #2
Could not update the integration plugin
・Changed current directory to /var/www/vhosts/domain.tld/.composer
・./composer.json has been created
・Loading composer repositories with package information
・Updating dependencies
・Your requirements could not be resolved to an installable set of packages.
・
・Problem 1
・- Root composer.json requires plesk/composer-command-info ~1.0.2 -> satisfiable by plesk/composer-command-info[1.0.2].
・- plesk/composer-command-info 1.0.2 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match your constraint.
・
・You are using a snapshot build of Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report an issue to them to ask them to support Composer 2. To work around this you can run Composer with --ignore-platform-reqs, but this will also ignore your PHP version and may result in bigger problems down the line.
・Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
・
・Installation failed, deleting ./composer.json.
・Changed current directory to /var/www/vhosts/domain.tld/.composer
・./composer.json has been created
・Loading composer repositories with package information
・Updating dependencies
・Your requirements could not be resolved to an installable set of packages.
・
・Problem 1
・- Root composer.json requires plesk/composer-command-info ~1.0.2 -> satisfiable by plesk/composer-command-info[1.0.2].
・- plesk/composer-command-info 1.0.2 requires composer-plugin-api ^1.1 -> found composer-plugin-api[2.0.0] but it does not match your constraint.
・
・You are using a snapshot build of Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report an issue to them to ask them to support Composer 2. To work around this you can run Composer with --ignore-platform-reqs, but this will also ignore your PHP version and may result in bigger problems down the line.
・Running update with --no-dev does not mean require-dev is ignored, it just means the packages will not be installed. If dev requirements are blocking the update you have to resolve those problems.
・
・Installation failed, deleting ./composer.json.
I removed and reinstalled PHP Composer with no change in results.
CentOS Linux 7.7 Plesk Obsidian 18.0.25 Update #2
Last edited: