php - 无法在 PHP5 中安装 PEAR

标签 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 .但我仍然遇到同样的错误。

最佳答案

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

C:\XAMPP\PHP>pear upgrade PEAR

关于php - 无法在 PHP5 中安装 PEAR,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9019051/

相关文章:

php - 删除域扩展

php - 使用 php 从 SQL 表中检索文件位置后,图像将不会显示

Toad for MySQL 上的 MySQL 样式选项卡

python - 如何在 Linux 服务器上指向 Python 的本地副本?

php - 如何使用 PEAR HTML_Table 添加 rowspan 和 colspan?

php - pear HTML_QuickForm2 : How to get the saved session container back in form

php - Netbeans-PHPUnit "No tests executed"错误

php - "Access Denied Code 5"Symfony2/Doctrine2 PHP重命名错误

c# - Windows 服务问题

php - PHP GET参数自动urldecode