无法在PHP5中安装PEAR

时间:2012-01-26 13:48:33

标签: php installation pear

我尝试在我的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。但我仍然得到同样的错误。

1 个答案:

答案 0 :(得分:4)

我认为XAMPP安装了PEAR。尝试:

C:\XAMPP\PHP>pear upgrade PEAR