[研究] php-pear-Mail 安裝(CentOS 6.3 x86)
CentOS 6.3 的 yum 預設沒有 php-pear-Mail 套件
yum list | grep php-pear
只看到 php-pear.noarch 而已
解決方法:
連上
http://download.fedoraproject.org/pub/epel/6/
網站尋找最新版EPEL,例如
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-8.noarch.rpm
安裝
wget http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/6/i386/epel-release-6-8.noarch.rpm rpm -Uvh epel-release-6-6.noarch.rpm yum -y install php-pear-Auth-SASL php-pear-Mail.noarch php-pear-Mail-Mime.noarch php-pear-Net-SMTP.noarch php-pear-Net-Socket.noarch |
檢查
[root@localhost ~]# yum list | grep php-pear-Mail php-pear-Mail.noarch 1.2.0-1.el6 @epel php-pear-Mail-Mime.noarch 1.8.4-1.el6 @epel php-pear-Mail-mimeDecode.noarch 1.5.5-1.el6 epel |
(完)
[研究] php-pear-Mail 安裝(CentOS 6.2 x86)
http://shaurong.blogspot.tw/2012/05/centos-62-php-pear-mail.html
沒有留言:
張貼留言