ltree
新手上路

UID 102691
精华
0
积分 33
帖子 17
金钱 33 喜悦币
威望 0
人脉 0
阅读权限 10
注册 2007-12-4
状态 离线
|
[广告]: q
m
mb_string问题及安装请教
系统LINUX FD,php5.2.5
我安装PHP的时候
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable-bcmath --with-zlib --with-iconv=/usr/local/lib/ --enable-gd-native-ttf --with-freetype-dir=/usr/local/lib/ --with-jpeg-dir=/usr/local/lib/ --with-png-dir=/usr/local/lib/ --with-gd --with-ttf
在执行phpinfo()的时候,显示Configure Command:
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable-bcmath --with-zlib --with-iconv=/usr/local/lib/ --enable-gd-native-ttf --with-freetype-dir=/usr/local/lib/ --with-jpeg-dir=/usr/local/lib/ --with-png-dir=/usr/local/lib/ --with-gd --with-ttf
现在我想让它支持mbstring,重新编译PHP
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-dbase --enable-bcmath --with-zlib --with-iconv=/usr/local/lib/ --enable-gd-native-ttf --with-freetype-dir=/usr/local/lib/ --with-jpeg-dir=/usr/local/lib/ --with-png-dir=/usr/local/lib/ --with-gd --with-ttf --enable-mbstring=all,编译完,复制php.ini到相应目录,重启apache,再执行phpinfo()为何显示的configure command还是跟之前一样,且还是不支持函数mb_convert_encoding,我在php.ini已开放php_mbstring支持。
TKS!
|
|