Search code examples
linuxphp-5.6php-7.1mbstringfedora-26

Install mbstring on Fedora 26


I have Downgraded php7.1 to php5.6. and I need to install mbstring. I tried with below command. Its not wkirking.

dnf install php56-php-mbstring

Error was:

Error: Unable to find a match

Solution

    1. Download rpm file from here enter image description here
    2. add rpm to system
      su

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

    3. dnf install php56-php-mbstring

    I succeeded using by above method.