2012-01-25 66 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

回答