Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install Composer, error in install already try several solutions

When the installation of Composer program starts this error occurs:

The Composer installer script was not successful [exit code 1].

OpenSSL failed with a 'certificate verify failed' error. This indicates a problem with the Certificate Authority file(s) on your system, which either cannot be found or may be out of date.

Script Output: The "https://getcomposer.org/versions" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed Failed to enable crypto failed to open stream: operation failed

I've already looked for some solutions on the internet, like deleting the; in the php.ini file but no solution so far.

like image 240
Julie Maciel Avatar asked Oct 24 '25 16:10

Julie Maciel


1 Answers

Try disabling your antivirus first. I worked on this for hours with a few colleagues and just by disabling the antivirus it worked

I hope this works

like image 71
Lethabo Machailo Avatar answered Oct 27 '25 00:10

Lethabo Machailo