Я пытаюсь установить проект laravel с помощью composer install , но взамен он дает следующую ошибку.
Problem 1
- Installation request for laravel/framework v7.14.1 -> satisfiable by laravel/framework[v7.14.1].
- laravel/framework v7.14.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 2
- Installation request for league/commonmark 1.4.3 -> satisfiable by league/commonmark[1.4.3].
- league/commonmark 1.4.3 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 3
- Installation request for facade/ignition 2.0.6 -> satisfiable by facade/ignition[2.0.6].
- facade/ignition 2.0.6 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 4
- Installation request for mockery/mockery 1.4.0 -> satisfiable by mockery/mockery[1.4.0].
- mockery/mockery 1.4.0 requires php ^7.3.0 -> your PHP version (7.2.24) does not satisfy that requirement.
Problem 5
- Installation request for phpunit/phpunit 8.5.5 -> satisfiable by phpunit/phpunit[8.5.5].
- phpunit/phpunit 8.5.5 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 6
- Installation request for scrivo/highlight.php v9.18.1.1 -> satisfiable by scrivo/highlight.php[v9.18.1.1].
- scrivo/highlight.php v9.18.1.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
Problem 7
- laravel/framework v7.14.1 requires ext-mbstring * -> the requested PHP extension mbstring is missing from your system.
- facade/flare-client-php 1.3.2 requires illuminate/pipeline ^5.5|^6.0|^7.0 -> satisfiable by laravel/framework[v7.14.1].
- Installation request for facade/flare-client-php 1.3.2 -> satisfiable by facade/flare-client-php[1.3.2].
Но mbstring уже установлен в php72. Сначала я проверяю версию php --v
, и она вернула
PHP 7.2.24
, затем проверил загруженные модули php72 -m
, и там было mbstring no проблема там тоже ... После этого я проверил, включен ли mbstring
или нет php72 -i | grep mbstring
и он включен
Поддержка многобайтового декодирования с использованием mbstring => enabled
В конце концов, почему composer не видит mbstring? Проверяю модули composer show -p
видя. И НЕТ нет mbstring
! Есть идеи, почему composer не видит mbstring и как я могу исправить эту проблему?
Кроме того, я нахожусь в Centos 7