In linux, install mbstring1. Go To The extmbstring directory of the php source package $ cdhomephpextmbstring2. run phpize $ usrlocallibphpbinphpize3. compile mbstring $ in the mbstring directory under the php installation directory. configure -- with-php-configusrlocalbinphp-co
Install mbstring 1 extension in linux. go to the ext/mbstring directory of the php source code package $ cd/home/php/ext/mbstring 2. run phpize $/usr/local/lib/php/bin/phpize 3 in the php installation directory. compile mbstring $ in the mbstring directory. /configure -- with-php-config =/usr/local/bin/php-co
Install mbstring extension in linux
1. Go to the ext/mbstring directory of the php source code package.
$ Cd/home/php/ext/mbstring
2. Run phpize in the php installation directory.
$/Usr/local/lib/php/bin/phpize
3. Compile mbstring in the mbstring directory
$./Configure -- with-php-config =/usr/local/bin/php-config
Copy the compiled mbstring. so file to the php extension folder.
4. Edit php. ini and add it to php. ini.
Extension_dir =/usr/lib/php/modules. If extension_dir is specified in php. ini
Extension = mbstring. so
5. Restart apache
$ Service httpd restart