centos7.2 lnmp1.4 php安装失败
只选择安装了 nginx 和 php nginx 安装成功,php安装失败,第一次遇到这种情况,烦请帮忙看一下日志 Error:Multilib version problems found. This often means that the rootcause is something else and multilib version checking is just
pointing out that there is a problem. Eg.:
1. You have an upgrade for libcurl which is missing some
dependency that another package requires. Yum is trying to
solve this by installing an older version of libcurl of the
different architecture. If you exclude the bad architecture
yum will tell you what the root cause is (which package
requires what). You can try redoing the upgrade with
--exclude libcurl.otherarch ... this should give you an error
message showing the root cause of the problem.
2. You have multiple architectures of libcurl installed, but
yum can only see an upgrade for one of those architectures.
If you don't want/need both architectures anymore then you
can remove the one with the missing update and everything
will work.
3. You have duplicate versions of libcurl installed already.
You can use "yum check" to get yum show these errors.
...you can also use --setopt=protected_multilib=false to remove
this checking, however this is almost never the correct thing to
do as something else is very likely to go wrong (often causing
much more problems).
Protected multilib versions: libcurl-7.29.0-25.el7.i686 != libcurl-7.29.0-25.el7.centos.x86_64
可能你yum的设置上开启了multilib可以/etc/yum.conf中尝试关闭multilib,或 yum install libcurl --setopt=protected_multilib=false 试试 http://lovetome.img-cn-shanghai.aliyuncs.com/af2993b3da7821c7fe8d1d3423885465.png
好像安装没问题
原帖由 licess 于 2017-9-18 12:00 发表 http://bbs.vpser.net/images/common/back.gif
可能你yum的设置上开启了multilib可以/etc/yum.conf中尝试关闭multilib,或 yum install libcurl --setopt=protected_multilib=false 试试
回复 3# 的帖子
yum install libcurl-7.29.0-25.el7.i686 --setopt=protected_multilib=false 再看一下如果正常的话重新再安装
如果还是报错,可以尝试修改安装包里的 include/php.sh 将 if [[ "${DISTRO}" = "CentOS" && "${Is_ARM}" = "y" ]];then 替换 为 if [[ "${DISTRO}" = "CentOS" || "${Is_ARM}" = "y" ]];then 后再安装。 原帖由 licess 于 2017-9-18 19:37 发表 http://bbs.vpser.net/images/common/back.gif
yum install libcurl-7.29.0-25.el7.i686 --setopt=protected_multilib=false 再看一下
如果正常的话重新再安装
如果还是报错,可以尝试修改安装包里的 include/php.sh 将 if [[ "${DISTRO}" = "CentOS" && "${Is_ARM} ...
嗯 可以了 确实是 libcurl 版本问题,thx
页:
[1]