Установка не удалась при попытке установить slim framework.Php

Кемеровские программисты php общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Установка не удалась при попытке установить slim framework.

Сообщение Anonymous »


It happens when I type "composer require slim/psr7" in CMD vs code terminal.
Your requirements could not be resolved to an installable set of packages. Problem 1 - slim/psr7[0.1.0, ..., 0.6] require php ^7.1 -> your php version (8.0.30) does not satisfy that requirement. - slim/psr7[1.0.0, ..., 1.2.0] require php ^7.2 -> your php version (8.0.30) does not satisfy that requirement. - slim/psr7[1.3.0, ..., 1.6.1] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command. - Root composer.json requires slim/psr7 * -> satisfiable by slim/psr7[0.1.0, ..., 0.6, 1.0.0, ..., 1.6.1]. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. You can also try re-running composer require with an explicit version constraint, e.g. "composer require slim/psr7:*" to figure out if any version is installable, or "composer require slim/psr7:^2.1" if you know which you need. Installation failed, reverting ./composer.json and ./composer.lock to their original content.

Источник: https://stackoverflow.com/questions/781 ... -framework
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Php»