dph19153
2016-07-07 19:43
浏览 312
已采纳

Centos 6.6上的yum list * php *没有显示任何php包

yum list *php* was not showing any packages. using yum update, the CentOS server went from version 6.3 to 6.6, but i still don't see any php packages with yum list *php*

yum repolist is showing:

Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: p3plmirror02.prod.phx3.secureserver.net * epel: dl.fedoraproject.org * extras: p3plmirror02.prod.phx3.secureserver.net * remi: mirrors.mediatemple.net * remi-php55: mirrors.mediatemple.net * remi-safe: mirrors.mediatemple.net * updates: p3plmirror02.prod.phx3.secureserver.net remi remi-php55 base epel extras remi remi-php55 remi-safe updates

what have I messed up? where are the php packages?

图片转代码服务由CSDN问答提供 功能建议

yum list * php * 未显示任何包。 使用yum更新,CentOS服务器从版本6.3到6.6,但我仍然没有看到任何带有 yum list * php *

yum repolist的php包 显示:

已加载的插件:fastermirror 从缓存的主机文件加载镜像速度 * base:p3plmirror02.prod.phx3.secureserver.net * epel:dl.fedoraproject.org \ n * extras:p3plmirror02.prod.phx3.secureserver.net * remi:mirrors.mediatemple.net * remi-php55:mirrors.mediatemple.net * remi-safe:mirrors.mediatemple.net * 更新:p3plmirror02.prod.phx3.secureserver.net remi remi-php55 base epel extras remi remi-php55 remi-safe updates

我搞砸了什么 吗? php包在哪里?

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

2条回答 默认 最新

  • dongzouh51192 2016-07-07 20:31
    已采纳

    Finally found this from googling: the php packages were excluded in /etc/yum.conf. I just edited the line that starts with exclude= and removed php* from that list.

    已采纳该答案
    评论
    解决 无用
    打赏 举报
  • dongqin1861 2016-07-07 19:45

    Try putting the search in single quotes:

    yum search '*php*'
    

    Otherwise, your shell will try to expand the stars to mean files matching that pattern.

    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题