打印

centos7.2 lnmp1.4 php安装失败

centos7.2 lnmp1.4 php安装失败

只选择安装了 nginx 和 php nginx 安装成功,php安装失败,第一次遇到这种情况,烦请帮忙看一下日志
附件: 您所在的用户组无法下载或查看附件

TOP

引用:
Error:  Multilib version problems found. This often means that the root
       cause 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 试试

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP


好像安装没问题
引用:
原帖由 licess 于 2017-9-18 12:00 发表

可能你yum的设置上开启了multilib  可以/etc/yum.conf中尝试关闭multilib,或 yum install libcurl --setopt=protected_multilib=false 试试

TOP

回复 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 后再安装。

LNMP付费问题排查/LNMP技术支持/Paypal信用卡代付/代购VPS,域名,软件等 QQ 503228080 旺旺 lzhenbao
军哥淘宝店铺
QQ/旺旺仅提供代购及付费代维/问题解决等服务,其他不回复!LNMP相关问题请在本论坛发帖,提问前先搜索,按https://bbs.vpser.net/thread-2555-1-1.html 要求反馈问题!

TOP

引用:
原帖由 licess 于 2017-9-18 19:37 发表
yum install libcurl-7.29.0-25.el7.i686 --setopt=protected_multilib=false 再看一下
如果正常的话重新再安装
如果还是报错,可以尝试修改安装包里的 include/php.sh 将 if [[ "${DISTRO}" = "CentOS" && "${Is_ARM} ...
嗯 可以了 确实是 libcurl 版本问题,thx

TOP