在Windows 10上运行composer self-update
时出错
这是完整的错误信息
composer self-update
Updating to version 1.8.4 (stable channel).
Downloading (100%)
[RuntimeException]
SHA384 is not supported by your openssl extension, could not verify the phar file integrity
我正在运行PHP 7.3.2
有什么问题吗?
最佳答案:
删除旧版本并安装最新版本的composer,
删除旧版本:
sudo rm -f /usr/local/bin/composer
下载安装程序:
sudo curl -s https://getcomposer.org/installer | php
移动composer.phar文件:
sudo mv composer.phar /usr/local/bin/composer