Detailed explanation of installing mbstring extension module in PHP_PHP tutorial

WBOY
Release: 2016-07-13 17:08:40
Original
5272 people have browsed it

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.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/629828.htmlTechArticleIn PHP, the mbstring module cannot be used by default, whether in the Linux system or the Windows system. Let me explain below. Introduce how to install mbstring in different systems. Under Centos: Log in with SSH...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!