作曲家安装程序错误:签名不匹配(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.

作曲家安装程序错误:签名不匹配(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.