【发布时间】:2013-02-26 20:54:10
【问题描述】:
通过 PEAR 安装 PHPUnit phpunit 的安装说明正在运行:
pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit
但失败并出现此错误:
注意:fwrite(): 发送 105 字节失败,errno=10053 An 已建立的连接被主机中的软件中止 机器。在 PEAR\Downloader.php 第 1664 行
注意:fwrite(): 发送 105 字节失败,errno=10053 已建立的连接被主机中的软件中止 机器。 在 C:\xampp\php\pear\PEAR\Downloader.php 第 1664 行
通过 http:// 发现通道 pear.phpunit.de 失败并显示消息:
频道添加:无法打开“http://pear.phpunit.de/channel.xml” (文件http://pear.phpunit.de:80/channel.xml 无效 (重定向但没有位置))
试图通过 https:// 发现频道 pear.phpunit.de 而是
发现频道“pear.phpunit.de”失败 (频道添加:无法打开“https://pear.phpunit.de/channel.xml” (连接到 `pear.phpunit.de:443' 失败:
已建立的连接被主机中的软件中止。))
你是怎么解决的?
【问题讨论】: