作曲家安装程序错误:签名不匹配(Composer Installer Error : Signature mismatch)

编程入门 行业动态 更新时间:2024-10-28 17:24:50
作曲家安装程序错误:签名不匹配(Composer Installer Error : Signature mismatch)

我有一个错误: 签名不匹配,在Windows OS上安装composer时无法验证phar文件的完整性

在检查代码时,我遇到了verifyAndSave()函数调用中没有关系的$signature变量。 这是正常的 ?

但是,如果我使用verifyAndSave()函数对测试进行注释,则安装会正确进行。

i have a error : Signature mismatch, could not verify the phar file integrity when install composer on windows OS.

When inspecting the code, I come across the $signature variable that does not have a relationship in the verifyAndSave() function call. It's normal ?

But, if I comment test with the verifyAndSave() function, the installation takes place correctly...

最满意答案

如果在安装过程中出现此错误: 签名不匹配,无法验证phar文件的完整性

暂时评论: zend_extension=opcache在你的php.ini中 ,运行Composer安装后,取消注释。

使用PHP 7.2.0。

If you have this error during install : Signature mismatch, could not verify the phar file integrity

Comment temporarily : zend_extension=opcache in your php.ini, run Composer install and after, uncomment.

Work with PHP 7.2.0.

更多推荐

本文发布于:2023-08-07 20:07:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1465793.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:安装程序   作曲家   不匹配   错误   Composer

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!