您的openssl扩展不支持SHA384,无法验证phar文件的完整性 [英] SHA384 is not supported by your openssl extension, could not verify the phar file integrity

查看:647
本文介绍了您的openssl扩展不支持SHA384,无法验证phar文件的完整性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 10上运行composer self-update时出现错误
这是完整的错误消息

I get the error when i run composer self-update on Windows 10
Here is the full error message

     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 可能是什么问题?

I am running PHP 7.3.2 What could be the problem?

推荐答案

删除旧版本并安装最新版本的Composer,

Remove Your older versions and install the latest version of 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

Move the composer.phar file: sudo mv composer.phar /usr/local/bin/composer

这篇关于您的openssl扩展不支持SHA384,无法验证phar文件的完整性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆