I need to add the mbstring extension to an install of PHP 5.2.6 on Apache/2.2.11 (Fedora). We have dynamic extensions enabled so I really think all I need is the .so file and .ini files, correct? Can I simply drop these files in and make it work or do I have to recompile PHP? If it's simply upload and go, where can I get the files I need?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Try yum install php-mbstring
. You may then need to restart apache, e.g. /sbin/service httpd restart
.
You can also use yum info "php-*"
to find a list of other php packages available.