sS https://getcomposer.org/installer | php
後生成器錯誤。我得到這個輸出:從終端安裝
Composer successfully installed to: /Users/kevin/composer.phar
Use it: php composer.phar
Some settings on your machine may cause stability issues with Composer.
If you encounter issues, try to change the following:
The OpenSSL library (0.9.8zc) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.
然後我試圖運行:composer -h
,並沒有工作,它說沒有找到命令。有關如何解決這個問題的任何想法?
將不勝感激。
由於提前,
凱文
您需要將''在/ usr /本地/ bin'如果你想在全球安裝的作曲家,或者只是調用'PHP作曲家內composer.phar' .phar -h'。 – Federkun