How To Install php-mbstring.x86_64 on Amazon Linux 2
In this tutorial we learn how to install php-mbstring.x86_64 in Amazon Linux 2. php-mbstring.x86_64 is A module for PHP applications which need multi-byte string
Introduction
In this tutorial we learn how to install php-mbstring.x86_64 on Amazon Linux 2.
What is php-mbstring.x86_64
The php-mbstring package contains a dynamic shared object that will add support for multi-byte string handling to PHP.
We can use yum to install php-mbstring.x86_64 on Amazon Linux 2. In this tutorial we discuss both methods but you only need to choose one of method to install php-mbstring.x86_64.
Install php-mbstring.x86_64 on Amazon Linux 2 Using yum
Update yum database with yum using the following command.
sudo yum makecache --refresh
After updating yum database, We can install php-mbstring.x86_64 using yum by running the following command:
sudo yum -y install php-mbstring.x86_64
How To Uninstall php-mbstring.x86_64 on Amazon Linux 2
To uninstall only the php-mbstring.x86_64 package we can use the following command:
sudo yum remove php-mbstring.x86_64
php-mbstring.x86_64 Package Contents on Amazon Linux 2
/etc/php.d/mbstring.ini
/usr/lib64/php/modules/mbstring.so
/usr/share/doc/php-mbstring-5.4.16
/usr/share/doc/php-mbstring-5.4.16/libmbfl_LICENSE
/usr/share/doc/php-mbstring-5.4.16/oniguruma_COPYING
/usr/share/doc/php-mbstring-5.4.16/ucgendat_LICENSE
References
Summary
In this tutorial we learn how to install php-mbstring.x86_64 on Amazon Linux 2 using yum.