我正在运行一个带有CentOS 7 64位的专用服务器,下面是试图安装IMAP时的输出:
yum install php-imap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.ciril.fr
* extras: ftp.ciril.fr
* updates: ftp.ciril.fr
No package php-imap available.
Error: Nothing to do 在禁用排除时也是如此:
sudo yum install --disableexcludes=all php-imap
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.ciril.fr
* extras: ftp.ciril.fr
* updates: ftp.ciril.fr
No package php-imap available.
Error: Nothing to do发布于 2015-12-17 09:33:36
只需运行以下命令
yum install epel-release*
yum install php-imap*
发布于 2015-01-08 23:09:40
在epel回购中。有关此类内容的搜索函数,请参见http://pkgs.org。
发布于 2018-12-08 13:48:50
下面是我在CentOS7.1上安装PHP7.0IMAP扩展时所做的工作
我从这里下载了set-ius.sh:https://gist.github.com/SunDi3yansyah/3edc2370268c335362c896cd2d1094ad
然后,使用命令安装它:
yum install php70u-imap而且起作用了!祝好运!
https://serverfault.com/questions/658254
复制相似问题