Home Backend Development PHP Tutorial Detailed explanation of installing mbstring extension module in PHP_PHP tutorial

Detailed explanation of installing mbstring extension module in PHP_PHP tutorial

Jul 13, 2016 pm 05:08 PM
linux m mbstring php windows exist Install Expand module system Detailed explanation still

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...
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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian

deepseek web version entrance deepseek official website entrance deepseek web version entrance deepseek official website entrance Feb 19, 2025 pm 04:54 PM

deepseek web version entrance deepseek official website entrance

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated? How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated? Feb 21, 2025 pm 10:54 PM

How to update the latest version of Bybit Exchange? Will there be any impact if it is not updated?

How to install deepseek How to install deepseek Feb 19, 2025 pm 05:48 PM

How to install deepseek

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node? Mar 05, 2025 pm 05:57 PM

Pi Node Teaching: What is a Pi Node? How to install and set up Pi Node?

How To Set Up Visual Studio Code (VS Code) for PHP Development How To Set Up Visual Studio Code (VS Code) for PHP Development Dec 20, 2024 am 11:31 AM

How To Set Up Visual Studio Code (VS Code) for PHP Development

Coinsuper exchange software channel official website entrance Coinsuper exchange software channel official website entrance Feb 21, 2025 pm 10:39 PM

Coinsuper exchange software channel official website entrance

PHP Program to Count Vowels in a String PHP Program to Count Vowels in a String Feb 07, 2025 pm 12:12 PM

PHP Program to Count Vowels in a String

See all articles