parent root
PHP: Installation - Manual

Installation

mbstring is a non-default extension. This means it is not enabled by default. You must explicitly enable the module with the configure option. See the Install section for details.

The following configure options are related to the mbstring module.

  • --enable-mbstring : Enable mbstring functions. This option is required to use mbstring functions.

    libmbfl is necessary for mbstring. libmbfl is bundled with mbstring. Before PHP 7.3.0, if libmbfl is already installed on the system, --with-libmbfl[=DIR] can be specified to use the installed library.

  • --disable-mbregex : Disable regular expression functions with multibyte character support.

    Oniguruma is necessary for the regular expression functions with multibyte character support. Oniguruma is bundled with mbstring. As of PHP 5.4.0, if Oniguruma is already installed on the system, --with-onig[=DIR] can be specified to use the installed library.

    As of PHP 5.4.0 it is possible to disable the multibyte regex backtrack check by specifying --disable-mbregex-backtrack .

add a noteadd a note

User Contributed Notes 3 notes

up
26
kurdtpage at gmail dot com
3 years ago
For Linux Mint using PHP 7:
sudo apt-get install php7.0-mbstring

and don't forget to run:
sudo service apache2 restart
up
-4
kacz at kaczmarowski dot com
10 years ago
Fedora 9 -- yum install php-mbstring then httpd -k restart to freshen the environment.

[EDIT BY danbrown AT php DOT net: This is true for all Red Hat Linux-based distributions using RPM and the `yum` package manager; this includes RHEL, Fedora, CentOS, Mandriva, and Intrinsic Linux, among others.]
up
-24
Someone
1 year ago
- To solve the common error in phpMyAdmin try:

apt-get install php-mbstring php-gettext
systemctl restart apache2 or service apache2 restart
To Top
parent root