In PHP, the mbstring module cannot be used by default, whether in Linux or Windows systems. Let me introduce how to install mbstring in different systems.
Under Centos:
Use SSH to log in to Centos and execute the following command:
1. Execute
yum install php-mbstring
2. Modify php.ini
vi /etc/php.ini #Remove the semicolon in front of the following content. If there is no such line, directly add a line extension=mbstring.so
;extension=mbstring.so
3. Restart web service
service httpd restart
Under Windows:
1. Modify php.ini
Remove the semicolon in front of the following content. If there is no such line, directly add a line extension=php_mbstring.dll
;extension=php_mbstring.dll
If the above modifications have no effect after restarting the web server, please copy php_mbstring.dll in the X:/PHP/EXT folder to the system X:/WINDOWS/system32 folder
Just restart the web server.