在Fedora 26上安装mbstring

时间:2017-11-10 17:00:21

标签: linux php-5.6 php-7.1 mbstring fedora-26

我已将php7.1降级为php5.6。我需要安装mbstring。 我试着用下面的命令。它不是wkirking。

dnf install php56-php-mbstring

错误是:

Error: Unable to find a match

1 个答案:

答案 0 :(得分:1)

  1. here下载rpm文件 enter image description here
  2. 将rpm添加到系统中 -------------------------- |contest_id | name | -------------------------- |5135 | First Contest| --------------------------

    su

  3. rpm -Uvh php56-php-mcrypt-5.6.32-1.fc26.remi.x86_64.rpm

  4. 我通过上述方法成功使用。