场景:在php7下需要安装mbstring扩展
命令:yum install php-mbstring
错误:
Error: php70w-common conflicts with php-common-5.4.16-43.el7_4.1.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@VM_0_5_centos ~]# yum install php70w-mbstring
解决方法:指定Php版本
yum install php70w-mbstring
本文介绍了在PHP7环境下安装mbstring扩展时遇到的问题及解决方法。当使用命令`yum install php-mbstring`出现冲突错误时,可以通过指定正确的PHP版本来解决,如使用`yum install php70w-mbstring`。
309

被折叠的 条评论
为什么被折叠?



