我在 Dreamhost 帐户上使用 SSH。
我需要通过 pear 安装 HTTP_Request2 PHP 库
pear install HTTP_Request2
给出以下错误
pear/HTTP_Request2 requires PEAR Installer (version >= 1.9.2), installed version is 1.9.1
这是输出 pear -V
PEAR Version: 1.9.1
我尝试在 Dreamhost 服务器上强制升级
pear upgrade --force http://pear.php.net/get/PEAR-1.9.2
乃至pear install PEAR-1.9.4
但这会出错:pear/PEAR is already installed and is the same as the released version 1.9.4
install failed
有人遇到过类似的问题吗?