在Windows上安装PHP的test-helpers扩展失败

时间:2012-01-25 15:28:42

标签: php windows unit-testing pear pecl

尝试安装phpunit test-helpers(https://github.com/sebastianbergmann/php-test-helpers

C:\>pecl install phpunit/test_helpers
downloading test_helpers-1.1.0.tgz ...
Starting to download test_helpers-1.1.0.tgz (10,370 bytes)
.....done: 10,370 bytes
4 source files, building
WARNING: php_bin C:\wamp\bin\php\php5.3.8\php.exe appears to have a suffix \php5.3.8\php.exe, but config variable php_suffix does not match
ERROR: The DSP test_helpers.dsp does not exist.

使用“pecl config-set php_suffix .exe”没有改变任何东西。遗憾的是,没有最新的预编译DLL可用于手动设置它们。

1 个答案:

答案 0 :(得分:0)

似乎这是测试助手分发包的问题。

查看问题和评论:https://github.com/sebastianbergmann/php-test-helpers/issues/6#issuecomment-3654335

如果有人知道如何解决它,那就太好了! :)

  

注意: the Test-Helper extension is superseded https://github.com/krakjoe/uopz

相关问题