# rpm -ivh php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm
warning: php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
php-common = 5.3.3-3.el6_2.8 is needed by php-mbstring-5.3.3-3.el6_2.8.x86_64
warning: php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
error: Failed dependencies:
php-common = 5.3.3-3.el6_2.8 is needed by php-mbstring-5.3.3-3.el6_2.8.x86_64
rpm安装的时候报错是error: Failed dependencies:的错误
这个错误是因为函数依赖的问题,没有依赖,安装失败
可以加上一下参数 --nodeps --force
# rpm -ivh php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm --nodeps --force
warning: php-bcmath-5.2.17-1.el6.art.x86_64.rpm: Header V3 DSA/SHA1 Signature, key ID 5ebd2744: NOKEY
Preparing... ########################################### [100%]
1:php-bcmath ########################################### [100%]
安装成功。。。