2014-07-31
CentOS 7.0 x64 的 yum 預設沒有 php-pear-Mail 套件
yum list | grep php-pear
只看到 php-pear.noarch 而已
[root@localhost ~]# yum list | grep php-pear
php-pear.noarch 1:1.9.4-21.el7 base
[root@localhost ~]#
解決方法:
連上
http://download.fedoraproject.org/pub/epel/
找到目錄
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/beta/7/x86_64/
網站尋找最新版 epel ,例如
http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
安裝
wget http://ftp.jaist.ac.jp/pub/Linux/Fedora/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm
rpm -Uvh epel-release-7-0.2.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
看看有那些 php-pear 可以安裝
[root@localhost ~]# yum list | grep php-pear
php-pear.noarch 1:1.9.4-21.el7 base
php-pear-Auth.noarch 1.6.4-2.el7 epel
php-pear-Auth-RADIUS.noarch 1.0.7-7.el7 epel
php-pear-Auth-SASL.noarch 1.0.6-5.el7 epel
php-pear-Auth-radius.noarch 1.6.4-2.el7 epel
php-pear-Auth-samba.noarch 1.6.4-2.el7 epel
php-pear-Benchmark.noarch 1.2.9-5.el7 epel
php-pear-CAS.noarch 1.3.3-1.el7 epel
php-pear-Cache.noarch 1.5.6-8.el7 epel
php-pear-Cache-Lite.noarch 1.7.16-1.el7 epel
php-pear-CodeGen.noarch 1.0.7-9.el7 epel
php-pear-CodeGen-PECL.noarch 1.1.3-10.el7 epel
php-pear-Console-Color.noarch 1.0.3-7.el7 epel
php-pear-Console-CommandLine.noarch 1.2.0-2.el7 epel
php-pear-Console-Getargs.noarch 1.3.5-9.el7 epel
php-pear-Console-ProgressBar.noarch 0.5.2-0.12.beta.el7 epel
php-pear-Console-Table.noarch 1.1.6-1.el7 epel
php-pear-Crypt-CHAP.noarch 1.5.0-7.el7 epel
php-pear-DB.noarch 1.7.14-6.el7 epel
php-pear-DB-DataObject.noarch 1.11.3-1.el7 epel
php-pear-DB-DataObject-FormBuilder.noarch 1.0.2-5.el7 epel
php-pear-DB-QueryTool.noarch 1.1.2-10.el7 epel
php-pear-Date.noarch 1.4.7-12.el7 epel
php-pear-Date-Holidays.noarch 0.21.8-2.el7 epel
php-pear-Date-Holidays-USA.noarch 0.1.1-11.el7 epel
php-pear-Event-Dispatcher.noarch 1.1.0-8.el7 epel
php-pear-File.noarch 1.4.1-5.el7 epel
php-pear-File-CSV.noarch 1.0.0-6.el7 epel
php-pear-File-Find.noarch 1.3.3-1.el7 epel
php-pear-File-Fstab.noarch 2.0.3-2.el7 epel
php-pear-File-Passwd.noarch 1.1.7-8.el7 epel
php-pear-File-SMBPasswd.noarch 1.0.3-8.el7 epel
php-pear-File-Util.noarch 1.0.0-6.el7 epel
php-pear-HTML-Common.noarch 1.2.5-8.el7 epel
php-pear-HTML-QuickForm.noarch 3.2.13-5.el7 epel
php-pear-HTML-QuickForm-ElementGrid.noarch 0.1.2-4.el7 epel
php-pear-HTML-QuickForm-advmultiselect.noarch
php-pear-HTML-Table.noarch 1.8.3-8.el7 epel
php-pear-HTTP.noarch 1.4.1-12.el7 epel
php-pear-HTTP-Client.noarch 1.2.1-10.el7 epel
php-pear-HTTP-OAuth.noarch 0.3.1-1.el7 epel
php-pear-HTTP-Request.noarch 1.4.4-8.el7 epel
php-pear-HTTP-Request2.noarch 2.2.1-1.el7 epel
php-pear-HTTP-Upload.noarch 0.9.1-11.el7 epel
php-pear-Image-Canvas.noarch 0.3.5-5.el7 epel
php-pear-Image-Color.noarch 1.0.4-9.el7 epel
php-pear-Image-Graph.noarch 0.8.0-7.el7 epel
php-pear-Image-GraphViz.noarch 1.3.0-7.el7 epel
php-pear-Image-Text.noarch 0.7.0-1.el7 epel
php-pear-Log.noarch 1.12.8-1.el7 epel
php-pear-MDB2.noarch 2.5.0-0.9.b5.el7 epel
php-pear-MDB2-Driver-mysql.noarch 1.5.0-0.8.b4.el7 epel
php-pear-MDB2-Driver-mysqli.noarch 1.5.0-0.8.b4.el7 epel
php-pear-MDB2-Driver-pgsql.noarch 1.5.0-0.8.b4.el7 epel
php-pear-Mail.noarch 1.2.0-7.el7 epel
php-pear-Mail-Mime.noarch 1.8.9-1.el7 epel
php-pear-Mail-mimeDecode.noarch 1.5.5-7.el7 epel
php-pear-Math-Stats.noarch 0.9.1-12.el7 epel
php-pear-Net-Curl.noarch 1.2.5-10.el7 epel
php-pear-Net-DIME.noarch 1.0.2-7.el7 epel
php-pear-Net-DNS.noarch 1.0.7-5.el7 epel
php-pear-Net-DNS2.noarch 1.3.2-1.el7 epel
php-pear-Net-FTP.noarch 1.3.7-12.el7 epel
php-pear-Net-IDNA2.noarch 0.1.1-10.el7 epel
php-pear-Net-IMAP.noarch 1.1.3-1.el7 epel
php-pear-Net-IPv4.noarch 1.3.4-7.el7 epel
php-pear-Net-POP3.noarch 1.3.8-8.el7 epel
php-pear-Net-Ping.noarch 2.4.5-9.el7 epel
php-pear-Net-SMTP.noarch 1.6.2-1.el7 epel
php-pear-Net-Sieve.noarch 1.3.2-6.el7 epel
php-pear-Net-Socket.noarch 1.0.14-1.el7 epel
php-pear-Net-Traceroute.noarch 0.21.3-7.el7 epel
php-pear-Net-URL.noarch 1.0.15-10.el7 epel
php-pear-Net-URL-Mapper.noarch 0.9.1-12.el7 epel
php-pear-Net-URL2.noarch 2.0.6-1.el7 epel
php-pear-Net-UserAgent-Detect.noarch 2.5.2-7.el7 epel
php-pear-Numbers-Roman.noarch 1.0.2-15.el7 epel
php-pear-Numbers-Words.noarch 0.16.4-5.el7 epel
php-pear-PEAR-Command-Packaging.noarch 0.3.0-7.el7 epel
php-pear-Pager.noarch 2.4.9-1.el7 epel
php-pear-Payment-Process.noarch 0.6.8-3.el7 epel
php-pear-SOAP.noarch 0.13.0-5.el7 epel
php-pear-Services-Twitter.noarch 0.6.3-8.el7 epel
php-pear-Services-Weather.noarch 1.4.7-2.el7 epel
php-pear-Structures-DataGrid.noarch 0.9.3-4.el7 epel
php-pear-Structures-DataGrid-DataSource-Array.noarch
php-pear-Structures-DataGrid-DataSource-DataObject.noarch
php-pear-Structures-DataGrid-DataSource-MDB2.noarch
php-pear-Structures-DataGrid-DataSource-RSS.noarch
php-pear-Structures-DataGrid-Renderer-Pager.noarch
php-pear-Structures-DataGrid-Renderer-Smarty.noarch
php-pear-Text-CAPTCHA.noarch 1.0.1-1.el7 epel
php-pear-Text-Figlet.noarch 1.0.2-2.el7 epel
php-pear-Text-Password.noarch 1.1.1-2.el7 epel
php-pear-Validate.noarch 0.8.5-6.el7 epel
php-pear-Validate-Finance-CreditCard.noarch 0.5.3-11.el7 epel
php-pear-Var-Dump.noarch 1.0.4-9.el7 epel
php-pear-XML-Beautifier.noarch 1.2.2-8.el7 epel
php-pear-XML-Parser.noarch 1.3.4-10.el7 epel
php-pear-XML-RPC.noarch 1.5.5-4.el7 epel
php-pear-XML-RPC2.noarch 1.1.2-1.el7 epel
php-pear-XML-RSS.noarch 1.0.2-10.el7 epel
php-pear-XML-SVG.noarch 1.1.0-3.el7 epel
php-pear-XML-Serializer.noarch 0.20.2-12.el7 epel
php-pear-console-color2.noarch 0.1.2-2.el7 epel
php-pear-phing.noarch 2.6.1-1.el7 epel
php-pear-text-wiki.noarch 1.2.1-3.el7 epel
[root@localhost ~]#
檢查
[root@localhost ~]# yum list | grep php-pear-Mail
php-pear-Mail.noarch 1.2.0-7.el7 @epel
php-pear-Mail-Mime.noarch 1.8.9-1.el7 @epel
php-pear-Mail-mimeDecode.noarch 1.5.5-7.el7 epel
[root@localhost ~]#
(完)
[研究] php-pear-Mail 安裝(CentOS 7.0 x86_64)
http://shaurong.blogspot.com/2014/07/php-pear-mail-centos-70-x8664.html
[研究] php-pear-Mail 安裝(CentOS 6.3 x86)
http://shaurong.blogspot.tw/2013/02/php-pear-mail-centos-63-x86.html
[研究] php-pear-Mail 安裝(CentOS 6.2 x86)
http://shaurong.blogspot.tw/2012/05/centos-62-php-pear-mail.html
沒有留言:
張貼留言