在CentOS 7上没有包php-imap

前端之家收集整理的这篇文章主要介绍了在CentOS 7上没有包php-imap前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在使用CentOS 7 64位运行专用服务器,这是尝试安装IMAP时的输出
  1. yum install PHP-imap
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: ftp.ciril.fr
  5. * extras: ftp.ciril.fr
  6. * updates: ftp.ciril.fr
  7. No package PHP-imap available.
  8. Error: Nothing to do

禁用排除时也是如此:

  1. sudo yum install --disableexcludes=all PHP-imap
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4. * base: ftp.ciril.fr
  5. * extras: ftp.ciril.fr
  6. * updates: ftp.ciril.fr
  7. No package PHP-imap available.
  8. Error: Nothing to do
只需运行以下命令即可

yum install epel-release *

yum安装PHP-imap *

猜你在找的CentOS相关文章