为PHP增加mbstring扩展
Posted on 十一月 7th, 2008 in apache、php、mysql | 8 Comments »
最近安装drupal,安装完毕总是提示需要PHP mbstring扩展,以便处理大字符集(Unicode 库)。
本人安装的是CentOS5.2,所以直接在root权限下运行 yum install php-mbstring
安装完毕重新启动apache。
但安装过程中,如果php有更新,那么原来的zend optimizer需要重新安装。
安装过程参考可以参见我之前的文章。
安装完成后,重新启动apache,运行php -v 发现zend optimizer和eAccelerator和Zend Extension的安装信息未出现。
并且发现/etc目录下的php.ini未更新,但/usr/local/Zend/etc下的php.ini是刚更新的。
于是备份/etc/php.ini,将/usr/local/Zend/etc/php.ini覆盖到/etc目录下,
运行命令 /usr/sbin/apachectl restart 重新启动apache后再运行php -v,可看见zend optimizer和eAccelerator和Zend Extension的信息了。
Leave a Reply
You must be logged in to post a comment.
8 Responses
GerriEyerman Watch NFL Football Online makokmbevih Breanneozikko konnymicuraa keighannocier
That was a different thought track. I like your quality that you put into your work. Please do move forward with more like this.
kymanHapp Watch Football Online barrinchuemann Brigibabahekez RavenBurrouc cakvazoreboonan
Gracias por compartir su maestría en esta área. Hay mucho Info inútil en esto que flota alrededor y aprecio su trabajo duro.
Thanks for some quality points there. I am kind of new to web surfing, so I printed this off to put in my file, any better way to go about keeping track of it then printing?
Hey, I think your really on track with this, I won’t say I am completely on the same page, but its not really that big of a issue.
Well, I don’t know if that’s going to work for me, but definitely worked for you! :) Excellent post!
I’m a daily web surfer, I am always seeking the internet for websites that can help me. Thank you