centos7安装php报错

在CentOS7上安装php时遇到错误。通过执行`yum clean all`,`yum -y upgrade`和多次尝试`yum -y install php56w`,最终在清理缓存和系统升级后成功安装了php。
摘要由CSDN通过智能技术生成

报错信息:

Error: Package: php70w-7.0.33-1.w6.x86_64 (webtatic)
           Requires: httpd-mmn = 20051115
           Installed: httpd-2.4.6-97.el7.centos.x86_64 (@updates)
               httpd-mmn = 20120211
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
           Available: httpd-2.4.6-95.el7.centos.x86_64 (base)
               httpd-mmn = 20120211x8664
               httpd-mmn = 20120211-x86-64
               httpd-mmn = 20120211
Error: Package: php70w-common-7.0.33-1.w6.x86_64 (webtatic)
           Requires: libgmp.so.3()(64bit)
Error: Package: php70w-ldap-7.0.33-1.w6.x86_64 (webtatic)
           Requires: libsasl2.so.2()(64bit)
 You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
icedtea-web-1.7.1-2.el7_6.x86_64 has missing requires of java-1.8.0-openjdk
jline-1.0-8.el7.noarch has missing r
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值