没有php5软件包,无法在CentOS上安装PHP包

我无法在我的数字海洋托管的服务器上通过yum重新安装

PHP.

我安装了PHP 5.4但想要5.6.我添加/启用了remi repo,运行yum -y删除php *然后尝试重新安装php.

当我运行yum -y install php时,我得到以下内容:

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

* base: mirrors.centos.webair.com

* epel: mirrors.coreix.net

* extras: mirrors.centos.webair.com

* remi: remi.check-update.co.uk

* remi-php56: remi.check-update.co.uk

* updates: mirrors.centos.webair.com

* webtatic: uk.repo.webtatic.com

Resolving Dependencies

--> Running transaction check

---> Package php.x86_64 0:5.6.8-1.el6.remi will be installed

--> Processing Dependency: php-common(x86-64) = 5.6.8-1.el6.remi for package: php-5.6.8-1.el6.remi.x86_64

--> Processing Dependency: php-cli(x86-64) = 5.6.8-1.el6.remi for package: php-5.6.8-1.el6.remi.x86_64

--> Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64

--> Running transaction check

---> Package php.x86_64 0:5.6.8-1.el6.remi will be installed

--> Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64

---> Package php-cli.x86_64 0:5.6.8-1.el6.remi will be installed

---> Package php-common.x86_64 0:5.6.8-1.el6.remi will be installed

--> Processing Dependency: php-pecl-zip(x86-64) for package: php-common-5.6.8-1.el6.remi.x86_64

--> Processing Dependency: php-pecl-jsonc(x86-64) for package: php-common-5.6.8-1.el6.remi.x86_64

--> Running transaction check

---> Package php.x86_64 0:5.6.8-1.el6.remi will be installed

--> Processing Dependency: httpd-mmn = 20051115 for package: php-5.6.8-1.el6.remi.x86_64

---> Package php-pecl-jsonc.x86_64 0:1.3.7-1.el6.remi.5.6 will be installed

---> Package php-pecl-zip.x86_64 0:1.12.5-1.el6.remi.5.6 will be installed

--> Finished Dependency Resolution

Error: Package: php-5.6.8-1.el6.remi.x86_64 (remi-php56)

Requires: httpd-mmn = 20051115

Installed: httpd-2.4.6-31.el7.centos.x86_64 (@base)

httpd-mmn = 20120211

httpd-mmn = 20120211x8664

httpd-mmn = 20120211-x86-64

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

我有点卡住了.我试过删除httpd,重新安装httpd,似乎没有解决这个问题.当我禁用remi并尝试安装PHP 5.4时,我甚至会收到错误.

关于从哪里去的任何想法?

我正在运行CentOS Linux 7.1.1503版(核心版)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值