Add mbstring extension and other general extensions for php

Source: Internet
Author: User
Add mbstring extension for php and other general extensions note: The default directory that generates extension. so is the usrlocalphp5libphpextensionsno-debug-non-zts-20090626 set extension_dir directory to its environment php5.2.14, does not support mbstring extension after compilation. If the php source code package adds mbstring extension and other general extensions to php in usrl
Note: The default directory that generates extension. so is
/Usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/
Set the directory of extension_dir to point to it

Php5.2.14 environment. mbstring extensions are not supported after compilation.
Assume that the php source code package is in the/usr/local/src/php-5.2.14
The php installation directory is/usr/local/php.
# Cd/usr/local/src/php-5.2.14/ext/mbstring/
#/Usr/local/php/bin/phpize
#./Configure-with-php-config =/usr/local/php/bin/php-config
# Make
# Make install
After Execution, add extension = mbstring. so to php. ini.
Restart the web server. check that phpinfo should support mbstring.

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.