【问题标题】:Unable to install PEAR in PHP5无法在 PHP5 中安装 PEAR
【发布时间】:2012-01-26 13:48:33
【问题描述】:

我尝试在我的 php(XAMPP) 中安装 PEAR。但我收到以下错误..

> D:\xampp\php>go-pear
manifest cannot be larger than 100 MB in phar "D:\xampp\php\PEAR\go-pear.phar"PH
P Warning:  require_once(phar://go-pear.phar/index.php): failed to open stream:
phar error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in
D:\xampp\php\PEAR\go-pear.phar on line 1236
Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha
r error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in D:\
xampp\php\PEAR\go-pear.phar on line 1236
Press any key to continue . . .**

我发现了类似的问题here。但我仍然得到同样的错误。

【问题讨论】:

    标签: php installation pear


    【解决方案1】:

    我认为 XAMPP 已经安装了 PEAR。试试:

    C:\XAMPP\PHP>pear upgrade PEAR
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-01-08
      • 2011-07-06
      • 2016-02-06
      • 2018-11-08
      • 1970-01-01
      • 2014-03-12
      • 2011-09-29
      相关资源
      最近更新 更多