Nginx的PHP mbstring

我使用本教程在我的Centos服务器上安装nginx http://moon.mastipoint.net/research/nginx-php-fpm-mysql-on-centos.html 。 我有一切运行,但是,我不知道如何安装php mbstring扩展。

我试过yum install php-mbstring.i386但它返回以下错误:

 --> Running transaction check ---> Package php-mbstring.i386 0:5.1.6-27.el5_5.3 set to be updated --> Processing Dependency: php-common = 5.1.6-27.el5_5.3 for package: php-mbstring --> Finished Dependency Resolution php-mbstring-5.1.6-27.el5_5.3.i386 from base has depsolving problems --> Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-mbstring-5.1.6-27.el5_5.3.i386 (base) Error: Missing Dependency: php-common = 5.1.6-27.el5_5.3 is needed by package php-mbstring-5.1.6-27.el5_5.3.i386 (base) 

谢谢。

该博客文章build议的脚本安装Webtatic回购并将其用于其PHP包。 尝试

 yum --enablerepo=webtatic install php-mbstring