标签: path composer-php ubuntu-14.04
您好我尝试在我的14.04 ubuntu上安装PHPunit,但是最新版本需要PHP 5.6而我只有5.5所以我安装了PHPUnit
通过作曲家composer global require "phpunit/phpunit = 4.8.*"
composer global require "phpunit/phpunit = 4.8.*"
但是当我尝试访问它时phpunit -c app/
phpunit -c app/
我得到bash: usr/local/bin/PHPUnit: No such file or directory
bash: usr/local/bin/PHPUnit: No such file or directory
如何将其移至路径?
答案 0 :(得分:1)
This链接说明了如何将所有作曲家安装的工具添加到路径中。