C:\PHP>pear upgrade pear
pear/pear is already installed and is the same as the released version 1.9.3
upgrade failed
C:\PHP>pear -V
PEAR Version: 1.9.0
PHP Version: 5.2.17
Zend Engine Version: 2.2.0
正如您所看到的,梨會對運行的版本感到困惑。我該如何解決這個問題,以便PEAR在1.9.3上運行?顯示不同版本號的窗口上的梨
更新
C:\PHP>pear upgrade -f pear
downloading PEAR-1.9.3.tgz ...
Starting to download PEAR-1.9.3.tgz (295,774 bytes)
.............................................................done: 295,774 bytes
upgrade ok: channel://pear.php.net/PEAR-1.9.3
PEAR: Optional feature webinstaller available (PEAR's web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)
PEAR: To install optional features use "pear install pear/PEAR#featurename"
C:\PHP>pear -V
PEAR Version: 1.9.0
PHP Version: 5.2.17
嘗試使用-f選項 – 2011-06-08 11:25:49
試圖見上更新 – Will 2011-06-08 11:30:40