Php extension install mbstring

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.