错误php70u common CONFLICT与php-common-5.4.x。。。。安装php mbstring时
我知道有很多这样的话题,但这些解决方案对我来说并不适用 我正在Oracle Linux上安装Phabricator。一切正常,但当我尝试在浏览器(地址)中打开phabricator时,我收到一条消息: 缺少必需的扩展未安装必需的PHP扩展 安装此PHP扩展: mbstring php mbstring不可用,所以我找到了这个repo并尝试安装它。以下是我收到的:错误php70u common CONFLICT与php-common-5.4.x。。。。安装php mbstring时,php,linux,redhat,phabricator,mbstring,Php,Linux,Redhat,Phabricator,Mbstring,我知道有很多这样的话题,但这些解决方案对我来说并不适用 我正在Oracle Linux上安装Phabricator。一切正常,但当我尝试在浏览器(地址)中打开phabricator时,我收到一条消息: 缺少必需的扩展未安装必需的PHP扩展 安装此PHP扩展: mbstring php mbstring不可用,所以我找到了这个repo并尝试安装它。以下是我收到的: yum install php-mbstring Loaded plugins: langpacks, ulninfo epel/x8
yum install php-mbstring
Loaded plugins: langpacks, ulninfo
epel/x86_64/metalink | 26 kB 00:00
ius | 2.2 kB 00:00
mysql-connectors-community | 2.5 kB 00:00
mysql-tools-community | 2.5 kB 00:00
mysql56-community | 2.5 kB 00:00
ol7_UEKR3 | 1.2 kB 00:00
ol7_latest | 1.4 kB 00:00
(1/2): ol7_latest/x86_64/updateinfo | 866 kB 00:00
(2/2): ol7_latest/x86_64/primary | 18 MB 00:03
ol7_latest 14996/14996
Resolving Dependencies
--> Running transaction check
---> Package php70u-mbstring.x86_64 0:7.0.9-1.ius.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 7.0.9-1.ius.el7 for package: php70u-mbstring-7.0.9-1.ius.el7.x86_64
--> Running transaction check
---> Package php70u-common.x86_64 0:7.0.9-1.ius.el7 will be installed
--> Processing Conflict: php70u-common-7.0.9-1.ius.el7.x86_64 conflicts php-common < 7.0
--> Finished Dependency Resolution
Error: php70u-common conflicts with php-common-5.4.16-36.3.el7_2.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我尝试通过以下方式安装所有这些内容:yum instal php55u mbstring.x86_64
(例如),但每次都有冲突
已解决
解决办法非常简单。我终于找到了适合我的php版本的php mbstring版本,在安装时,没有冲突。您使用了哪种附加回购?@Tricase我更新了我的问题,它与我一起工作:
sudo-yum安装php70u-mbstring
您使用了哪种附加回购?@Tricase我更新了我的问题,它与我一起工作:sudo-yum安装php70u-mbstring
php55u-mbstring.x86_64 5.5.38-1.ius.el7 ius
php56u-mbstring.x86_64 5.6.24-1.ius.el7 ius
php70u-mbstring.x86_64 7.0.9-1.ius.el7 ius