开发者

PHPUnit doesn't install an executable script

So I installed PHPUnit using PEAR, everything worked fine. The installation showed that everything was installed, and in my /usr/lib/php the PHPUnit folder is filled with the complete library.

However, I can't find the phpunit.sh anywhere. Where is it l开发者_StackOverflowocated? If I try to run phpunit on CLI, it doesn't find the command, so it can't be anywhere in the "standard"-binary folders like /usr/local/bin.

Do I have to download the script myself? Maybe even compile it myself?

PS: I'm running on OS X 10.6


Run

$ pear list phpunit/phpunit
...
script /usr/bin/phpunit
...

that's your executable script. No .sh appended.

PHPUnit is pure PHP, no need to compile anything.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜