安装
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 necesarry for mbstring. libmbfl is bundled with mbstring. If libmbfl is already installed on the system, --with-libmbfl[=DIR] can be specified to use the installed library. As of PHP 4.3.0, mbstring extension provides enhanced support for Simplified Chinese, Traditional Chinese, Korean, and Russian in addition to Japanese. For PHP 4.3.3 or before, To enable that feature, you will have to supply either one of the following options to the LANG parameter of --enable-mbstring=LANG; --enable-mbstring=cn for Simplified Chinese support, --enable-mbstring=tw for Traditional Chinese support, --enable-mbstring=kr for Korean support, --enable-mbstring=ru for Russian support, and --enable-mbstring=ja for Japanese support (default). To enable all supported encoding, use --enable-mbstring=all. 注: As of PHP 4.3.4, all supported encoding by libmbfl is enabled with --enable-mbstring. --enable-mbstr-enc-trans : Enable HTTP input character encoding conversion using mbstring conversion engine. If this feature is enabled, HTTP input character encoding may be converted to mbstring.internal_encoding automatically. 注: As of PHP 4.3.0, the option --enable-mbstr-enc-trans was eliminated and replaced with the runtime setting mbstring.encoding_translation. HTTP input character encoding conversion is enabled when this is set to On (the default is Off). --disable-mbregex: Disable regular expression functions with multibyte character support.
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 necesarry for mbstring. libmbfl is bundled with mbstring. If libmbfl is already installed on the system, --with-libmbfl[=DIR] can be specified to use the installed library. As of PHP 4.3.0, mbstring extension provides enhanced support for Simplified Chinese, Traditional Chinese, Korean, and Russian in addition to Japanese. For PHP 4.3.3 or before, To enable that feature, you will have to supply either one of the following options to the LANG parameter of --enable-mbstring=LANG; --enable-mbstring=cn for Simplified Chinese support, --enable-mbstring=tw for Traditional Chinese support, --enable-mbstring=kr for Korean support, --enable-mbstring=ru for Russian support, and --enable-mbstring=ja for Japanese support (default). To enable all supported encoding, use --enable-mbstring=all. 注: As of PHP 4.3.4, all supported encoding by libmbfl is enabled with --enable-mbstring. --enable-mbstr-enc-trans : Enable HTTP input character encoding conversion using mbstring conversion engine. If this feature is enabled, HTTP input character encoding may be converted to mbstring.internal_encoding automatically. 注: As of PHP 4.3.0, the option --enable-mbstr-enc-trans was eliminated and replaced with the runtime setting mbstring.encoding_translation. HTTP input character encoding conversion is enabled when this is set to On (the default is Off). --disable-mbregex: Disable regular expression functions with multibyte character support.
解决方案 »
- 两个同父类的子类之间的调用问题
- Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result
- 请教unserialize()的问题,急~
- php调试输出
- 请问一个查询数据库的问题
- 菜鸟提问,为什么text内容分段而宜,每段开头空两格,想用html输出时不分段,不空格?
- PHP中获取多个复选框的值,一定要给复选框的name属性值加[]吗
- 请教上传附件怎么做??在线等待!!
- DX HELP!!!我在JAVA和JSP 方面有些经验,现在GF要用PHP我要一周学会,指点呀。!
- 如何删除一个字符串的最后一行(如果为空)?
- 急问!$_COOKIE 对文件夹以外的文件不好用
- 变成4个三角,散分.顺便问一下.
--with-mysql=/usr/local/mysql/
--with-curl=/usr/local/curl --enable-ftp
--with-libxml-dir=/usr/local/libxml2
--with-expat-dir=/usr/lib --enable-soap
--with-xsl=/usr/local/libxslt --enable-xslt
--with-gd=/usr/local/gd2/
--with-jpeg-dir=/usr/local/jpeg6/
--with-zlib-dir=/usr/local/lib/
--with-png=/usr/local/lib/
--with-freetype-dir=/usr/local/freetype/
--with-mbstring --enable-mbstring=all