【发布时间】:2011-07-06 19:46:11
【问题描述】:
这是我的问题。我已经在 XAMPP 社区论坛中问过这个问题 但没有回复。也许你们中的一些人可以提供帮助。
我正在使用以下配置运行 XAMPP
- Win 7,32 位
- xampp-win32-1.7.4-VC6
我想通过 pear 更新 PHPUnit,以便将其用于 Selenium 测试
首先,添加频道
pear 频道-发现 pear.phpunit.de
然后我安装包
pear 安装 phpunit/PHPUnit
在这里,我总是收到相同的错误消息...
Warning: file_exists (): Unable to find the wrapper "channel" - did you forget to
enable it when you configured PHP? in PEAR \ Downloader \ Package.php on line 1416
Warning: is_file (): Unable to find the wrapper "channel" - did you forget to ena
ble it when you configured PHP? in PEAR \ Downloader \ Package.php on line 1425
Warning: is_file (): Unable to find the wrapper "channel" - did you forget to ena
ble it when you configured PHP? in PEAR \ Downloader \ Package.php on line 1425
我什至尝试完全重新安装 xampp,但没有帮助。
我也做了一个
pear install phpunit/PHPUnit
没有任何改变。
这可能是由于火瀑布设置造成的吗?
希望有人能帮我解决这个问题。
最好的问候
杰里米
【问题讨论】:
-
更新了我的答案,为您解决梨更新问题
-
我已经设法升级到 1.9.2 版 但是当我运行 pear install --force --alldeps phpunit/PHPUnit 我得到@ 987654323@
标签: php windows-7 phpunit xampp pear