Mbstring on php 7.4

**Operating system:**CentOS Linux
**OS version:**7.9.2009
Virtualmin 6.14

Hello,
just installed php 7.4 but need to install mbstring separately for that version. Tried various options but didn’t work for me. Tried:
yum -y install php74-php-{mbstring}
and also
yum install rh-php74-php-mbstring

but no luck. Please help with some advice if possible. Thanks.

Hi,

What do you see if you run this?

yum search mbstring

Martin.

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Excluding mirror: mirror.fra10.de.leaseweb.net

  • base: mirror.23media.com
  • centos-sclo-rh: centos.intergenia.de
  • centos-sclo-sclo: de.mirrors.clouvider.net
    Excluding mirror: mirror.de.leaseweb.net
    Excluding mirror: mirror.nl.leaseweb.net
  • epel: ftp.plusline.net
  • extras: de.mirrors.clouvider.net
  • remi-safe: mirror.23media.com
    Excluding mirror: mirror.fra10.de.leaseweb.net
  • updates: centosmirror.netcup.net
    ====================================== N/S matched: mbstring =======================================
    php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php54-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php55-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php56-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php70-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php71-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php72-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php73-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php74-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    php80-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    rh-php70-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    rh-php71-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    rh-php72-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling
    rh-php73-php-mbstring.x86_64 : A module for PHP applications which need multi-byte string handling

Name and summary matches only, use “search all” for everything.

OK, and what do you get when you try to install it?

yum install php74-php-mbstring

Thank you Martin. This line worked just fine. All good.

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.