安装
mbstring
不是一个默认扩展。这意味着它默认没有被激活。
你必须在 configure
选项中显式激活该模块。
详情参见安装这一节。
以下是涉及到 mbstring
的相关配置选项。
-
--enable-mbstring:激活
mbstring
函数。 要使用mbstring
函数必须启用这个选项。libmbfl 对
mbstring
是必要的。 libmbfl 被捆绑到了mbstring
。 如果系统已安装 libmbfl,--with-libmbfl[=DIR] 可以指定使用已安装的库。 -
--disable-mbregex:禁用正则表达式函数中多字节字符的支持。

User Contributed Notes
There are no user contributed notes for this page.
备份地址:http://www.lvesu.com/blog/php/mbstring.installation.php