0
C:\Program Files\PHP>pear install phpunit/PHPUnit
Did not download optional dependencies: ezc/ConsoleTools, use --alldeps to download automatically
downloading PHPUnit-3.5.13.tgz ...
Starting to download PHPUnit-3.5.13.tgz (118,553 bytes)
..........................done: 118,553 bytes
could not extract the package.xml file from "C:\Program Files\PHP\tmp\PHPUnit-3.5.13.tgz" Unable to create directory 'C:/Program/tmp42BA.tmp'
Unable to create path for C:/Program/tmp42BA.tmp/package.xml
Download of "phpunit/PHPUnit" succeeded, but it is not a valid package archive
Error: cannot download "phpunit/PHPUnit"
설치 프로그램은 C : \ Program Files를 제외하고 c : \ Program 디렉터리에 쓰기를 시도합니다.phpUnit : install : windows7 : 경로 문제
해결 방법은 무엇입니까? 누군가가 phpunit.bat를 설치해야합니다.
은 "프로그램 파일"의 공간을 좋아하지 않는 것 당신이
대부분 "프로그램 파일"의 공간을 선호하지 않습니다. 다른 임시 디렉토리를 사용하거나 이전 버전과의 호환성을 위해 Windows가 여전히 지원하는 8.3 단축 버전을 사용하여 지정해야합니다. –
@Marc B : 좋은 생각이야! 감사!!! 답을 쓰자.))) 나는 대답에 'V'를 칠 것이다. –
@Marc 내가 아는 바로는 정확합니다. 답변을 게시하려면 신경 써야합니까? :) --- 다소 관련이 있습니다 : http://stackoverflow.com/questions/5801111/installing-pear-and-phpunit-with-xampp/5801138#5801138 – edorian