显示不同版本号的窗口上的梨形 [英] Pear on windows displaying different version numbers

查看:34
本文介绍了显示不同版本号的窗口上的梨形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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 对其运行的版本感到困惑.我该如何解决这个问题,以便 PEAR 在 1.9.3 上运行?

As you can see pear is confused to what version it is running. How can I go about fixing this so that PEAR is running on 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

推荐答案

我卸载了 php 并重新安装了它.然后所有的问题都迎刃而解了.

I uninstalled php and re-installed it again. All the problems then went away.

这篇关于显示不同版本号的窗口上的梨形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆