composer 输入后没反应(问题已解决)
我下载了composer.phar,并mv到/usr/local/bin 目录下。
macdeMacBook-Pro:bin mac$ mv ~/Downloads/composer.phar composer
macdeMacBook-Pro:bin mac$ chmod -R 755 composer
macdeMacBook-Pro:bin mac$ ls -al composer
-rwxr-xr-x@ 1 mac staff 1914314 5 27 15:02 composer
macdeMacBook-Pro:bin mac$ composer
之后,一直是光标闪烁。没有任何反应了。
问题解决了。
原来是php出了问题。重装php就好了。