在 Windows 上安装 PHP 测试帮助扩展失败
尝试安装 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 可用于尝试手动设置它们。
Trying to install 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.
Using "pecl config-set php_suffix .exe" did not change anything. Unfortunately no recent precompiled DLL's are available to try setting them up manually.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
似乎这是 test-helpers 分发包的问题。
查看问题和评论:https://github.com/sebastianbergmann /php-test-helpers/issues/6#issuecomment-3654335
如果有人知道如何修复它,那就太好了! :)
Seems like it's an issue with the test-helpers distribution package.
See the issue and comments: https://github.com/sebastianbergmann/php-test-helpers/issues/6#issuecomment-3654335
If anyone knows how to fix it, it would be great! :)