2012-01-25 65 views
1

尝试安装PHPUnit测试佣工(https://github.com/sebastianbergmann/php-test-helpers安装测试助手扩展PHP在Windows上无法

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配置设置php_suffix .EXE”没有改变任何东西。不幸的是没有最近的预编译DLL可用来手动设置它们。

+0

我曾经有过的在Windows上安装扩展的时间地狱。一旦我切换到Linux,它是多么容易/顺利的事情是惊人的。问题是,作为一个开源项目,PHP最终将它的大部分Windows支持视为一种爱的劳动。结果,Windows环境并没有得到很好的支持。对不起,我不能有更多的帮助:/ – rdlowrey

+0

是的。开发和生产服务器是Linux,所以这里没有问题。但是我的个人开发环境是在Windows上设置的(WAMP,PHPStorm,SQLYog,TortoiseSVN)。你知道它是如何的,人们可以非常依赖开发环境和多年来收集的所有小工具:)。 –

+0

你是对的。我终于扔了我的手,并与Linux桌面。但是,使用可用的虚拟化选项,您可以保留虚拟机中的所有Windows东西。 **不要...拿...我的... Notepad ++ ... argggh ** *(我刚刚死在那里)* – rdlowrey

回答