【问题标题】:Error while installing php55w on CentOS在 CentOS 上安装 php55w 时出错
【发布时间】:2014-06-15 21:23:27
【问题描述】:

我正在尝试在 CentOS 虚拟机上安装 php55w 软件包。我之前安装了 php54 并在更新新包之前删除了所有旧的 php 包。当我执行 sudo yum install php55w 时,出现以下错误:

Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php55w.x86_64 0:5.5.11-1.w5 will be installed
--> Processing Dependency: php55w-common = 5.5.11-1.w5 for package: php55w-5.5.11-1.w5.x86_64
--> Processing Dependency: php55w-cli = 5.5.11-1.w5 for package: php55w-5.5.11-1.w5.x86_64
--> Processing Dependency: httpd-mmn = 20051115 for package: php55w-5.5.11-1.w5.x86_64
--> Processing Dependency: httpd for package: php55w-5.5.11-1.w5.x86_64
--> Processing Dependency: libssl.so.6()(64bit) for package: php55w-5.5.11-1.w5.x86_64
--> Processing Dependency: libcrypto.so.6()(64bit) for package: php55w-5.5.11-1.w5.x86_64
---> Package php55w-opcache.x86_64 0:5.5.11-1.w5 will be installed
--> Running transaction check
---> Package httpd.x86_64 0:2.2.15-15.el6.centos.1 will be installed
--> Processing Dependency: httpd-tools = 2.2.15-15.el6.centos.1 for package: httpd-2.2.15-15.el6.centos.1.x86_64
--> Processing Dependency: apr-util-ldap for package: httpd-2.2.15-15.el6.centos.1.x86_64
--> Processing Dependency: /etc/mime.types for package: httpd-2.2.15-15.el6.centos.1.x86_64
---> Package openssl098e.x86_64 0:0.9.8e-17.el6.centos.2 will be installed
---> Package php55w-cli.x86_64 0:5.5.11-1.w5 will be installed
---> Package php55w-common.x86_64 0:5.5.11-1.w5 will be installed
--> Processing Dependency: libcurl.so.3()(64bit) for package: php55w-common-5.5.11-1.w5.x86_64
--> Running transaction check
---> Package apr-util-ldap.x86_64 0:1.3.9-3.el6_0.1 will be installed
---> Package httpd-tools.x86_64 0:2.2.15-15.el6.centos.1 will be installed
---> Package mailcap.noarch 0:2.1.31-2.el6 will be installed
---> Package php55w-common.x86_64 0:5.5.11-1.w5 will be installed
--> Processing Dependency: libcurl.so.3()(64bit) for package: php55w-common-5.5.11-1.w5.x86_64
--> Finished Dependency Resolution
Error: Package: php55w-common-5.5.11-1.w5.x86_64 (webtatic-el5)
           Requires: libcurl.so.3()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

我已经坚持了很长时间。不知道如何解决这个问题。我对 CentOS 也比较陌生。如果您有任何问题,请告诉我!

谢谢,

【问题讨论】:

标签: php centos6


【解决方案1】:
Error: Package: php55w-common-5.5.11-1.w5.x86_64 (webtatic-el5)
           Requires: libcurl.so.3()(64bit)

可能 php55w-common 使用更多新版本的 libcurl.so.3 构建。

安装php55w-common前需要更新libcurl包。

还要检查

# yum provides '*/libcurl.so.*';

可能是libcurl.so.3没有打包。

【讨论】:

  • 它已经更新为 libcurl-7.28.1-2.el6.x86_64 和 libcurl-devel-7.28.1-2.el6.x86_64
  • 是的,它没有打包。它只有 libcurl.so.4 我如何获得 libcurl.so.3?实际上已经在谷歌上搜索了一段时间..
  • 你用什么链接来安装 rpmforge repo?
  • # wget packages.sw.be/rpmforge-release/rpmforge-release- 0.5.2-2.el6.rf.x86_64.rpm # rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm # wget @ 987654322@ # rpm --import RPM-GPG-KEY.dag.txt # yum --enablerepo=rpmforge install php55w-common
  • 没有包 php55w-common 可用。 rpmforge repo 不存在 php55w。
【解决方案2】:

你已经在el6服务器上安装了webtatic-el5,试试el6版本

yum remove webtatic5-release
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm

【讨论】:

  • 它在 6.6 版本中帮助了我
猜你喜欢
  • 1970-01-01
  • 2014-09-10
  • 1970-01-01
  • 1970-01-01
  • 2021-10-09
  • 2016-03-10
  • 2016-02-26
  • 2016-03-17
  • 2017-03-11
相关资源
最近更新 更多