當我在命令下運行時,它會發生錯誤。PHPUnit安裝問題
梨安裝pear.phpunit.de/PHPUnit
WARNING: channel "pear.phpunit.de" has updated its protocols, use "pear channel-update
pear.phpunit.de" to update
downloading PHPUnit-3.6.12.tgz ...
Starting to download PHPUnit-3.6.12.tgz (119,220 bytes)
..........................done: 119,220 bytes
ERROR: failed to create /Applications/MAMP/bin/php5.3/share/pear/PHPUnit/Extensions
/PhptTestCase/.tmpLogger.php: fopen(/Applications/MAMP/bin/php5.3/share/pear/PHPUnit
/Extensions/PhptTestCase/.tmpLogger.php): failed to open stream: Permission denied
我使用Mac和甲基苯丙胺
,我想安裝PHPUnit,plz幫助。
---編輯---
我授予某些權限,現在它顯示如下錯誤 無法刪除/Applications/MAMP/bin/php5.3/bin/phpunit,不能重命名/應用程序/ MAMP /bin/php5.3/bin/.tmpphpunit
喜,它幫助我..但它給了錯誤,當我檢查版本或運行的PHPUnit任何命令 - > msmac:〜Mohdshahid $ PHPUnit的--version -bash:在/ usr/local/bin目錄/ phpunit:/ Applications/MAMP/bin/php5/bin/php:糟糕的解釋器:沒有這樣的文件或目錄 – 2012-08-14 13:06:02