Install mbstring on Linux If you want to use mb_strlen()function then, use this command to install this package: sudo apt-get install php7.2-mbstring