我正在尝试在我的KnownHost VPS上安装Composer。当我运行这个命令时:
curl -sS https://getcomposer.org/installer | php
我收到了以下错误信息:
I get this error message:
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:
The phar extension is missing.
Install it or recompile php without --disable-phar
我该如何安装phar扩展?我正在我的VPS上运行PHP 5.4.22。
curl -sS https://getcomposer.org/installer | php -d detect_unicode=Off
。 - Amal Murali