pear

 

 

 


Version

pear version

Upgrade PEAR Installer

# 1.9 必須上 1.10 才可再上

pear install PEAR-1.10.1

應用情況

在 Centos 7 安裝 /Net_SMTP

pear/Net_SMTP requires PEAR Installer (version >= 1.10.1), installed version is 1.9.4

Channels

pear update-channels

 

Install Package

e.g.

pear install Mail_mime

downloading Mail_Mime-1.8.4.tgz ...
Starting to download Mail_Mime-1.8.4.tgz (31,117 bytes)
.........done: 31,117 bytes
install ok: channel://pear.php.net/Mail_Mime-1.8.4

 


Install Package 時遇 Version 問題

 

pear install Net_IDNA2

Failed to download pear/Net_IDNA2 within preferred state "stable",
 latest release is version 0.1.1, stability "beta",
 use "channel://pear.php.net/Net_IDNA2-0.1.1" to install
install failed

pear install Net_IDNA2-0.1.1

downloading Net_IDNA2-0.1.1.tgz ...
Starting to download Net_IDNA2-0.1.1.tgz (24,193 bytes)
........done: 24,193 bytes
install ok: channel://pear.php.net/Net_IDNA2-0.1.1

 

 

Creative Commons license icon Creative Commons license icon