VPS侦探论坛

 找回密码
 注册
查看: 1125|回复: 2

php升级失败

[复制链接]
发表于 2023-1-11 21:23:23 | 显示全部楼层 |阅读模式

军哥,请帮忙看看,lnmp1.9版,nignx升级成功,php升级失败,8.2,8.1全部升级失败!升级之后无法启动php服务!


日志:  https://note.ms/iwzp

谢谢军哥!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2023-1-12 11:00:58 | 显示全部楼层


Loaded plugins: fastestmirror, langpacks
Repository epel is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* elrepo: mirror-hk.koddos.net
Resolving Dependencies
--> Running transaction check
---> Package zlib.x86_64 0:1.2.7-17.el7 will be updated
---> Package zlib.x86_64 0:1.2.7-20.el7_9 will be an update
--> Finished Dependency Resolution
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 zlib which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of zlib 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 zlib.otherarch ... this should give you an error
            message showing the root cause of the problem.
      
         2. You have multiple architectures of zlib 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 zlib 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: zlib-1.2.7-20.el7_9.x86_64 != zlib-1.2.7-17.el7.i686

lnmp 1.9不支持php8.2的升级
你这依赖包安装过程都保存了,你升级肯定会缺少依赖包而无法成功的

yum distro-sync
执行后再尝试执行 yum install zlib -y 看一下能否正常安装

另外你发的这个日志也是不完整的,没有php安装部分的日志
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2023-1-12 13:18:58 | 显示全部楼层

谢谢军哥,我再试试!
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-5 17:19 , Processed in 0.025767 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表