喜悦国际村 
» 游客:  注册 | 登录 | 搜索 | 统计 | 帮助

RSS 订阅当前论坛  

喜悦证交所已经关闭

上一主题 下一主题
     
标题: [问题] mb_string问题及安装请教  
 
ltree
新手上路
Rank: 1



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!
2008-4-14 01:56 PM#1
查看资料  发短消息  顶部
 
startend
注册会员
Rank: 2



UID 105521
精华 0
积分 52
帖子 42
金钱 52 喜悦币
威望 0
人脉 0
阅读权限 20
注册 2008-1-2
状态 离线
[推荐阅读] 问个Mysql数据库比较菜的问题?
更改完后,你有没有重新启动Apache,没有重新启动话,此mb模块不会被加载进去
2008-4-14 03:25 PM#2
查看资料  发短消息  顶部
     


  可打印版本 | 推荐给朋友 | 订阅主题 | 收藏主题 | 开通个人空间  


 




Powered by Discuz! 6.1.0  © 2001-2010 Comsenz Inc.
Processed in 0.022201 second(s), 6 queries

(冀ICP备05009913号) 管理员:sadly 邮箱/MSN: sadly@phpx.com QQ:824008(长隐) 清除 Cookies - - Archiver - WAP